File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
src/Illuminate/Foundation/Console Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 2
2
3
3
namespace Illuminate \Foundation \Console ;
4
4
5
- use Exception ;
6
5
use Illuminate \Console \Command ;
6
+ use RuntimeException ;
7
7
use Symfony \Component \Filesystem \Filesystem as SymfonyFilesystem ;
8
8
9
9
class StorageLinkCommand extends Command
@@ -67,7 +67,7 @@ protected function links()
67
67
protected function getRelativeTarget ($ link , $ target )
68
68
{
69
69
if (! class_exists (SymfonyFilesystem::class)) {
70
- throw new Exception ( ' Please install the symfony/filesystem Composer package to create relative links . ' );
70
+ throw new RuntimeException ( ' To enable support for relative links, please install symfony/filesystem . ' );
71
71
}
72
72
73
73
return (new SymfonyFilesystem )->makePathRelative ($ target , dirname ($ link ));
You can’t perform that action at this time.
0 commit comments