Completed
Push — master ( 693049...a54de9 )
by Travis
02:23
created
src/NukaCode/Core/Http/Controllers/BaseController.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -5,7 +5,6 @@
 block discarded – undo
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
 {
Please login to merge, or discard this patch.
src/NukaCode/Core/View/Layout.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -36,6 +36,9 @@
 block discarded – undo
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);
Please login to merge, or discard this patch.
src/NukaCode/Core/View/Models/ViewModel.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -53,7 +53,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
     {
Please login to merge, or discard this patch.
src/NukaCode/Core/Providers/ViewServiceProvider.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -88,7 +88,7 @@
 block discarded – undo
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
     {
Please login to merge, or discard this patch.
src/NukaCode/Core/View/ViewBuilder.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -57,7 +57,7 @@  discard block
 block discarded – undo
57 57
     /**
58 58
      * Get the current layout.
59 59
      *
60
-     * @return mixed
60
+     * @return \Illuminate\View\View
61 61
      */
62 62
     public function getLayout()
63 63
     {
@@ -133,7 +133,7 @@  discard block
 block discarded – undo
133 133
     /**
134 134
      * Return the details of the view resolution for troubleshooting.
135 135
      *
136
-     * @return mixed
136
+     * @return Models\ViewModel
137 137
      */
138 138
     public function debug()
139 139
     {
Please login to merge, or discard this patch.