Completed
Pull Request — master (#272)
by
unknown
02:19 queued 13s
created
src/helpers.php 2 patches
Doc Comments   +5 added lines, -1 removed lines patch added patch discarded remove patch
@@ -5,7 +5,7 @@  discard block
 block discarded – undo
5 5
      * Appends the configured backpack prefix and returns
6 6
      * the URL using the standard Laravel helpers.
7 7
      *
8
-     * @param $path
8
+     * @param string $path
9 9
      *
10 10
      * @return string
11 11
      */
@@ -133,6 +133,10 @@  discard block
 block discarded – undo
133 133
      * on the current configured backpack
134 134
      * view (see config/backpack/base.php)
135 135
      */
136
+
137
+    /**
138
+     * @param string $view
139
+     */
136 140
     function backpack_view($view, $data)
137 141
     {
138 142
         $theme = config('backpack.base.theme');
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -137,7 +137,7 @@
 block discarded – undo
137 137
     {
138 138
         $theme = config('backpack.base.theme');
139 139
         $returnView = "backpack::{$theme}.{$view}";
140
-        if(!view()->exists($returnView)){
140
+        if (!view()->exists($returnView)) {
141 141
             $returnView = "backpack::{$view}";
142 142
         }
143 143
         return view($returnView, $data);
Please login to merge, or discard this patch.