@@ -111,7 +111,7 @@ discard block |
||
| 111 | 111 | * Checks if template exists |
| 112 | 112 | * |
| 113 | 113 | * @param string $type template/scope |
| 114 | - * @param string $template in blade path format, ex: layout/header |
|
| 114 | + * @param string|false $file |
|
| 115 | 115 | * @return boolean true/false |
| 116 | 116 | */ |
| 117 | 117 | public static function file_exists($type = 'template', $file) { |
@@ -129,8 +129,9 @@ discard block |
||
| 129 | 129 | * Returns template name for render, based on type of request |
| 130 | 130 | * |
| 131 | 131 | * @param string $type template/scope |
| 132 | - * @param string $type |
|
| 133 | - * @return array |
|
| 132 | + * @param string $type |
|
| 133 | + * @param string $page |
|
| 134 | + * @return string|false |
|
| 134 | 135 | */ |
| 135 | 136 | public static function get_available_file($type = 'template', $page) { |
| 136 | 137 | |
@@ -377,7 +378,7 @@ discard block |
||
| 377 | 378 | /** |
| 378 | 379 | * Returns classy template name or boolean if this is not classy template |
| 379 | 380 | * |
| 380 | - * @return mixed |
|
| 381 | + * @return string|false |
|
| 381 | 382 | */ |
| 382 | 383 | public static function get_classy_template() { |
| 383 | 384 | |
@@ -43,6 +43,7 @@ |
||
| 43 | 43 | /** |
| 44 | 44 | * Extends Scope with scope that is defined in theme_name/scope folder |
| 45 | 45 | * |
| 46 | + * @param string|false $template_name |
|
| 46 | 47 | * @return array |
| 47 | 48 | */ |
| 48 | 49 | public static function extend_scope($scope, $template_name) { |