Skip to content

Commit

Permalink
Middle finger to onion (#2)
Browse files Browse the repository at this point in the history
* Replace middleware emoji from middle finger to onion

* Update CommandTest.php
  • Loading branch information
morrislaptop authored Mar 25, 2021
1 parent fe1993b commit 73204fb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/Commands/LaravelRouteMenuCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ protected function displayRoute(Route $route): void
}

if ($middleware = $this->getMiddleware($route)) {
$this->line('πŸ–• ' . str_pad("Middles: ", $padLength) . $middleware);
$this->line('πŸ§… ' . str_pad("Middles: ", $padLength) . $middleware);
}

if (! $isSpecialMethod) {
Expand Down
2 changes: 1 addition & 1 deletion tests/CommandTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ public function it_outputs_for_a_closure()
->expectsOutput('🌏 Domain: google.com')
->expectsOutput('🎬 Action: Closure')
->expectsOutput('🀹 Params: int $answer')
->expectsOutput('πŸ–• Middles: web')
->expectsOutput('πŸ§… Middles: web')
->expectsOutput('β˜•οΈ Code: ' . __FILE__ . ':' . 16)
->assertExitCode(0);
}
Expand Down

0 comments on commit 73204fb

Please sign in to comment.