@@ -57,7 +57,7 @@ |
||
57 | 57 | |
58 | 58 | /** |
59 | 59 | * @param string[] ...$relation_names any list of relations to return |
60 | - * @return instance of Entity object |
|
60 | + * @return Entity of Entity object |
|
61 | 61 | */ |
62 | 62 | public function with(string ...$relation_names) |
63 | 63 | { |
@@ -129,6 +129,9 @@ |
||
129 | 129 | return $ret; |
130 | 130 | } |
131 | 131 | |
132 | + /** |
|
133 | + * @param integer $key |
|
134 | + */ |
|
132 | 135 | public static function top(array $outputs, ?string $key = null) : void |
133 | 136 | { |
134 | 137 | if (empty($outputs)) return; |
@@ -30,7 +30,7 @@ discard block |
||
30 | 30 | /** |
31 | 31 | * Get the singleton instance |
32 | 32 | * |
33 | - * @return alkemann\hl\debug\util\Debug |
|
33 | + * @return Debug |
|
34 | 34 | */ |
35 | 35 | public static function get_instance() : Debug |
36 | 36 | { |
@@ -112,6 +112,9 @@ discard block |
||
112 | 112 | $this->__out($key); |
113 | 113 | } |
114 | 114 | |
115 | + /** |
|
116 | + * @param integer $key |
|
117 | + */ |
|
115 | 118 | private function __out($key = null) : void |
116 | 119 | { |
117 | 120 | if ($key !== null) { |
@@ -138,7 +138,7 @@ discard block |
||
138 | 138 | /** |
139 | 139 | * Extra short way of adding a blacklisted object property |
140 | 140 | * |
141 | - * @param mixed $value Name of object property to blacklist, or array of |
|
141 | + * @param string $value Name of object property to blacklist, or array of |
|
142 | 142 | */ |
143 | 143 | function dbp($value) |
144 | 144 | { |
@@ -161,7 +161,6 @@ discard block |
||
161 | 161 | * Convenient wrapper for other \util\Debug methods |
162 | 162 | * |
163 | 163 | * @param string $method Name of method to call on the Debug obect |
164 | - * @param boolean $echo True will echo, false will return result |
|
165 | 164 | */ |
166 | 165 | function dw($method) |
167 | 166 | { |
@@ -157,6 +157,7 @@ discard block |
||
157 | 157 | |
158 | 158 | /** |
159 | 159 | * @throws InvalidUrl |
160 | + * @param string $view |
|
160 | 161 | */ |
161 | 162 | public function view($view): string |
162 | 163 | { |
@@ -203,6 +204,9 @@ discard block |
||
203 | 204 | $this->template = "{$template}.{$this->type}"; |
204 | 205 | } |
205 | 206 | |
207 | + /** |
|
208 | + * @param string $url |
|
209 | + */ |
|
206 | 210 | private function templateFromUrl(?string $url = null): string |
207 | 211 | { |
208 | 212 | $parts = \explode('/', $url); |