Skip to content

Commit a10552d

Browse files
Synced exception messages
1 parent f85f1b3 commit a10552d

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

src/Illuminate/Console/Scheduling/Schedule.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ public function __construct($timezone = null)
6666

6767
if (! class_exists(Container::class)) {
6868
throw new RuntimeException(
69-
'A container implementation is required to use the scheduler. Please install illuminate/container.'
69+
'A container implementation is required to use the scheduler. Please install the illuminate/container package.'
7070
);
7171
}
7272

@@ -149,7 +149,7 @@ protected function dispatchToQueue($job, $queue, $connection)
149149
if ($job instanceof Closure) {
150150
if (! class_exists(CallQueuedClosure::class)) {
151151
throw new RuntimeException(
152-
'To enable support for closure jobs, please install illuminate/queue.'
152+
'To enable support for closure jobs, please install the illuminate/queue package.'
153153
);
154154
}
155155

@@ -301,7 +301,7 @@ protected function getDispatcher()
301301
$this->dispatcher = Container::getInstance()->make(Dispatcher::class);
302302
} catch (BindingResolutionException $e) {
303303
throw new RuntimeException(
304-
'Unable to resolve the dispatcher from the service container. Please bind it or install illuminate/bus.',
304+
'Unable to resolve the dispatcher from the service container. Please bind it or install the illuminate/bus package.',
305305
$e->getCode(), $e
306306
);
307307
}

src/Illuminate/Database/Schema/Grammars/ChangeColumn.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ public static function compile($grammar, Blueprint $blueprint, Fluent $command,
2828
{
2929
if (! $connection->isDoctrineAvailable()) {
3030
throw new RuntimeException(sprintf(
31-
'Changing columns for table "%s" requires Doctrine DBAL; install "doctrine/dbal".',
31+
'Changing columns for table "%s" requires Doctrine DBAL. Please install the doctrine/dbal package.',
3232
$blueprint->getTable()
3333
));
3434
}

src/Illuminate/Routing/RoutingServiceProvider.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ protected function registerPsrRequest()
144144
return (new DiactorosFactory)->createRequest($app->make('request'));
145145
}
146146

147-
throw new BindingResolutionException('Unable to resolve PSR request. Please install symfony/psr-http-message-bridge and nyholm/psr7.');
147+
throw new BindingResolutionException('Unable to resolve PSR request. Please install the symfony/psr-http-message-bridge and nyholm/psr7 packages.');
148148
});
149149
}
150150

@@ -164,7 +164,7 @@ protected function registerPsrResponse()
164164
return new ZendPsrResponse;
165165
}
166166

167-
throw new BindingResolutionException('Unable to resolve PSR response. Please install nyholm/psr7.');
167+
throw new BindingResolutionException('Unable to resolve PSR response. Please install the nyholm/psr7 package.');
168168
});
169169
}
170170

0 commit comments

Comments
 (0)