@@ -5,7 +5,7 @@ discard block |
||
| 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 | */ |
@@ -132,6 +132,7 @@ discard block |
||
| 132 | 132 | * Returns a new displayable view based on the current configured backpack |
| 133 | 133 | * |
| 134 | 134 | * @param string (see config/backpack/base.php) |
| 135 | + * @param string $view |
|
| 135 | 136 | * |
| 136 | 137 | * @return string |
| 137 | 138 | */ |
@@ -140,7 +140,7 @@ discard block |
||
| 140 | 140 | $theme = config('backpack.base.theme'); |
| 141 | 141 | |
| 142 | 142 | if(is_null($theme)) { |
| 143 | - $theme = 'adminlte'; |
|
| 143 | + $theme = 'adminlte'; |
|
| 144 | 144 | } |
| 145 | 145 | |
| 146 | 146 | $returnView = "{$package}::{$theme}.{$view}"; |
@@ -165,7 +165,7 @@ discard block |
||
| 165 | 165 | $theme = config('backpack.base.theme'); |
| 166 | 166 | |
| 167 | 167 | if(is_null($theme)) { |
| 168 | - $theme = 'adminlte'; |
|
| 168 | + $theme = 'adminlte'; |
|
| 169 | 169 | } |
| 170 | 170 | |
| 171 | 171 | return "{$package}::{$theme}.{$view}"; |
@@ -139,12 +139,12 @@ discard block |
||
| 139 | 139 | { |
| 140 | 140 | $theme = config('backpack.base.theme'); |
| 141 | 141 | |
| 142 | - if(is_null($theme)) { |
|
| 142 | + if (is_null($theme)) { |
|
| 143 | 143 | $theme = 'adminlte'; |
| 144 | 144 | } |
| 145 | 145 | |
| 146 | 146 | $returnView = "{$package}::{$theme}.{$view}"; |
| 147 | - if(!view()->exists($returnView)){ |
|
| 147 | + if (!view()->exists($returnView)) { |
|
| 148 | 148 | $returnView = "{$package}::{$view}"; |
| 149 | 149 | } |
| 150 | 150 | |
@@ -164,7 +164,7 @@ discard block |
||
| 164 | 164 | { |
| 165 | 165 | $theme = config('backpack.base.theme'); |
| 166 | 166 | |
| 167 | - if(is_null($theme)) { |
|
| 167 | + if (is_null($theme)) { |
|
| 168 | 168 | $theme = 'adminlte'; |
| 169 | 169 | } |
| 170 | 170 | |