You've already forked php-flasher
mirror of
https://github.com/php-flasher/php-flasher.git
synced 2026-04-05 12:32:55 +01:00
fix tests for laravel >=5.1
This commit is contained in:
@@ -176,11 +176,7 @@ class Laravel implements ServiceProviderInterface
|
||||
$criteria = substr($criteria, 1, -1);
|
||||
}
|
||||
|
||||
if (empty($criteria)) {
|
||||
$criteria = 'array()';
|
||||
}
|
||||
|
||||
return "<?php echo app('flasher.response_manager')->render(${criteria}, 'html'); ?>";
|
||||
return "<?php echo app('flasher.response_manager')->render(${criteria}); ?>";
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user