Skip to content

Commit

Permalink
Fix style CI warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
gazben authored May 7, 2019
1 parent 3b179df commit cad2b1a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Routing/Route.php
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ public function __construct(Adapter $adapter, Container $container, Request $req
*/
protected function setupRouteProperties(Request $request, $route)
{
list($this->uri, $this->methods, $this->action) = $this->adapter->getRouteProperties($route, $request);
[$this->uri, $this->methods, $this->action] = $this->adapter->getRouteProperties($route, $request);

$this->versions = Arr::pull($this->action, 'version');
$this->conditionalRequest = Arr::pull($this->action, 'conditionalRequest', true);
Expand Down Expand Up @@ -278,7 +278,7 @@ public function getControllerInstance()
*/
protected function makeControllerInstance()
{
list($this->controllerClass, $this->controllerMethod) = explode('@', $this->action['uses']);
[$this->controllerClass, $this->controllerMethod] = explode('@', $this->action['uses']);

$this->container->instance($this->controllerClass,
$this->controller = $this->container->make($this->controllerClass));
Expand Down

0 comments on commit cad2b1a

Please sign in to comment.