@@ -5,7 +5,6 @@ |
||
5 | 5 | use Illuminate\Routing\Controller; |
6 | 6 | use Illuminate\Support\Facades\Blade; |
7 | 7 | use Laracasts\Utilities\JavaScript\JavaScriptFacade; |
8 | -use NukaCode\Core\View\ViewBuilder; |
|
9 | 8 | |
10 | 9 | abstract class BaseController extends Controller |
11 | 10 | { |
@@ -36,6 +36,9 @@ |
||
36 | 36 | return $this; |
37 | 37 | } |
38 | 38 | |
39 | + /** |
|
40 | + * @param string $view |
|
41 | + */ |
|
39 | 42 | public function change($view) |
40 | 43 | { |
41 | 44 | $this->layout = $this->determineLayout($view); |
@@ -53,7 +53,7 @@ discard block |
||
53 | 53 | /** |
54 | 54 | * Find the most reasonable view available. |
55 | 55 | * |
56 | - * @return null |
|
56 | + * @return string|null |
|
57 | 57 | */ |
58 | 58 | public function getView() |
59 | 59 | { |
@@ -174,7 +174,7 @@ discard block |
||
174 | 174 | * |
175 | 175 | * @param \Illuminate\Support\Collection $prefixes |
176 | 176 | * |
177 | - * @return mixed |
|
177 | + * @return Collection |
|
178 | 178 | */ |
179 | 179 | protected function removeControllerFromPrefixes($prefixes) |
180 | 180 | { |
@@ -88,7 +88,7 @@ |
||
88 | 88 | /** |
89 | 89 | * Get the services provided by the provider. |
90 | 90 | * |
91 | - * @return array |
|
91 | + * @return string[] |
|
92 | 92 | */ |
93 | 93 | public function provides() |
94 | 94 | { |