@@ -85,8 +85,7 @@ discard block |
||
85 | 85 | public function currentControllerMethod(): ?string |
86 | 86 | { |
87 | 87 | return Route::current() !== null ? |
88 | - Route::current()->getActionMethod() : |
|
89 | - null; |
|
88 | + Route::current()->getActionMethod() : null; |
|
90 | 89 | } |
91 | 90 | |
92 | 91 | /** |
@@ -95,8 +94,7 @@ discard block |
||
95 | 94 | public function currentRequestUri(): ?string |
96 | 95 | { |
97 | 96 | return Route::getCurrentRequest() !== null ? |
98 | - Route::getCurrentRequest()->getRequestUri() : |
|
99 | - null; |
|
97 | + Route::getCurrentRequest()->getRequestUri() : null; |
|
100 | 98 | } |
101 | 99 | |
102 | 100 | /** |