Skip to content

Commit 6ca4392

Browse files
taylorotwellStyleCIBot
authored andcommitted
Apply fixes from StyleCI
1 parent 039504c commit 6ca4392

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

src/Exceptions/TaskExceptionResult.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ public function __construct(
1616
/**
1717
* Creates a new task exception result from the given throwable.
1818
*
19-
* @param \Throwable $throwable
19+
* @param \Throwable $throwable
2020
* @return \Laravel\Octane\Exceptions\TaskExceptionResult
2121
*/
2222
public static function from($throwable)

src/MarshalsPsr7RequestsAndResponses.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ protected function toHttpFoundationRequest(ServerRequestInterface $request): Req
4646
* Convert the given HttpFoundation response into a PSR-7 response.
4747
*
4848
* @param \Symfony\Component\HttpFoundation\Response $response
49-
* @return \Psr\Http\Message\ResponseInterface
49+
* @return \Psr\Http\Message\ResponseInterface
5050
*/
5151
protected function toPsr7Response(Response $response): ResponseInterface
5252
{

src/OctaneServiceProvider.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,7 @@ protected function registerHttpTaskHandlingRoutes()
191191
)), 200);
192192
} catch (DecryptException) {
193193
return new Response('', 403);
194-
} catch (TaskException | DdException) {
194+
} catch (TaskException|DdException) {
195195
return new Response('', 500);
196196
} catch (TaskTimeoutException) {
197197
return new Response('', 504);

src/WorkerExceptionInspector.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,8 @@ public function getExceptionName()
2525
/**
2626
* Get the worker exception trace.
2727
*
28-
* @param \Throwable $throwable
29-
* @return array
28+
* @param \Throwable $throwable
29+
* @return array
3030
*/
3131
public function getTrace($throwable)
3232
{

0 commit comments

Comments
 (0)