@@ -110,7 +110,7 @@ discard block |
||
110 | 110 | * Checks if view exists |
111 | 111 | * |
112 | 112 | * @param string $type view/scope |
113 | - * @param string $view in blade path format, ex: layout/header |
|
113 | + * @param string|false $file |
|
114 | 114 | * @return boolean true/false |
115 | 115 | */ |
116 | 116 | public static function file_exists( $type = 'view', $file ) { |
@@ -129,7 +129,8 @@ discard block |
||
129 | 129 | * |
130 | 130 | * @param string $type view/scope |
131 | 131 | * @param string $type |
132 | - * @return array |
|
132 | + * @param string $page |
|
133 | + * @return string|false |
|
133 | 134 | */ |
134 | 135 | public static function get_available_file( $type = 'view', $page ) { |
135 | 136 | |
@@ -370,7 +371,7 @@ discard block |
||
370 | 371 | /** |
371 | 372 | * Returns classy template name or boolean if this is not classy template |
372 | 373 | * |
373 | - * @return mixed |
|
374 | + * @return string|false |
|
374 | 375 | */ |
375 | 376 | public static function get_classy_template() { |
376 | 377 |