@@ -89,7 +89,7 @@ |
||
89 | 89 | /** |
90 | 90 | * @param int $nesting |
91 | 91 | * @param array $classes |
92 | - * @return bool|string |
|
92 | + * @return false|string |
|
93 | 93 | */ |
94 | 94 | public function breadcrumb($nesting = 0, $classes = []) |
95 | 95 | { |
@@ -243,7 +243,7 @@ |
||
243 | 243 | * |
244 | 244 | * @param string $type |
245 | 245 | * |
246 | - * @return int |
|
246 | + * @return string |
|
247 | 247 | */ |
248 | 248 | public function modifierFullName($type = '') |
249 | 249 | { |
@@ -140,7 +140,7 @@ discard block |
||
140 | 140 | /** |
141 | 141 | * Returns article content. |
142 | 142 | * |
143 | - * @param bool|int $truncate |
|
143 | + * @param boolean $truncate |
|
144 | 144 | * @param bool $stripTags |
145 | 145 | * @param bool $escape |
146 | 146 | * @param bool $raw |
@@ -314,7 +314,7 @@ discard block |
||
314 | 314 | * |
315 | 315 | * @param string $type |
316 | 316 | * |
317 | - * @return int |
|
317 | + * @return string |
|
318 | 318 | */ |
319 | 319 | public function modifierFullName($type = '') |
320 | 320 | { |
@@ -37,6 +37,9 @@ |
||
37 | 37 | ); |
38 | 38 | } |
39 | 39 | |
40 | + /** |
|
41 | + * @return string |
|
42 | + */ |
|
40 | 43 | public function url() |
41 | 44 | { |
42 | 45 | if (!isset($this->page['url'])) { |
@@ -25,7 +25,7 @@ |
||
25 | 25 | */ |
26 | 26 | private function format($message) |
27 | 27 | { |
28 | - $request = isset($_SERVER['REQUEST_URI']) ? $_SERVER['REQUEST_URI']: ''; |
|
28 | + $request = isset($_SERVER['REQUEST_URI']) ? $_SERVER['REQUEST_URI'] : ''; |
|
29 | 29 | |
30 | 30 | return sprintf( |
31 | 31 | "[%s] %s | %s\n", |
@@ -2,37 +2,37 @@ |
||
2 | 2 | <html> |
3 | 3 | <head> |
4 | 4 | <meta charset="utf-8"> |
5 | - <title><?=$this->pageTitle;?></title> |
|
6 | - <style><?=$this->pageStyle;?></style> |
|
5 | + <title><?=$this->pageTitle; ?></title> |
|
6 | + <style><?=$this->pageStyle; ?></style> |
|
7 | 7 | </head> |
8 | 8 | <body> |
9 | 9 | <section class="wrapper"> |
10 | - <h1><?=$this->message;?></h1> |
|
10 | + <h1><?=$this->message; ?></h1> |
|
11 | 11 | <p> |
12 | - <span class="file"><?=$this->description['file'];?></span> |
|
13 | - <span class="line"><?=$this->description['line'];?></span> throws |
|
14 | - <span class="class"><?=$this->description['class'];?></span> |
|
12 | + <span class="file"><?=$this->description['file']; ?></span> |
|
13 | + <span class="line"><?=$this->description['line']; ?></span> throws |
|
14 | + <span class="class"><?=$this->description['class']; ?></span> |
|
15 | 15 | </p> |
16 | 16 | |
17 | 17 | <section class="trace"> |
18 | 18 | <h2>/* Stack trace */</h2> |
19 | 19 | <ol><?php foreach ($this->trace as $key => $v): ?> |
20 | 20 | <li title="check args"> |
21 | - <span class="file"><?=$v['file'];?></span> |
|
22 | - <span class="line"><?=$v['line'];?></span> |
|
23 | - <span class="class"><?=$v['class'];?></span> |
|
24 | - <span class="type"><?=$v['type'];?></span> |
|
25 | - <span class="function"><?=$v['function'];?></span> |
|
26 | - <pre><?=$v['args'];?></pre> |
|
21 | + <span class="file"><?=$v['file']; ?></span> |
|
22 | + <span class="line"><?=$v['line']; ?></span> |
|
23 | + <span class="class"><?=$v['class']; ?></span> |
|
24 | + <span class="type"><?=$v['type']; ?></span> |
|
25 | + <span class="function"><?=$v['function']; ?></span> |
|
26 | + <pre><?=$v['args']; ?></pre> |
|
27 | 27 | </li> |
28 | - <?php endforeach;?> |
|
28 | + <?php endforeach; ?> |
|
29 | 29 | </ol> |
30 | 30 | </section> |
31 | 31 | </section> |
32 | 32 | <footer class="footer"> |
33 | - <span><?=VER_NAME;?></span> |
|
34 | - <span>© <?=date('Y');?> <?=NAME;?></span> |
|
33 | + <span><?=VER_NAME; ?></span> |
|
34 | + <span>© <?=date('Y'); ?> <?=NAME; ?></span> |
|
35 | 35 | </footer> |
36 | - <script><?=$this->pageScript;?></script> |
|
36 | + <script><?=$this->pageScript; ?></script> |
|
37 | 37 | </body> |
38 | 38 | </html> |
@@ -243,7 +243,7 @@ |
||
243 | 243 | * |
244 | 244 | * @param string $type |
245 | 245 | * |
246 | - * @return int |
|
246 | + * @return string |
|
247 | 247 | */ |
248 | 248 | public function modifierFullName($type = '') |
249 | 249 | { |
@@ -11,7 +11,7 @@ |
||
11 | 11 | * |
12 | 12 | * @param array $f |
13 | 13 | * |
14 | - * @return int |
|
14 | + * @return boolean |
|
15 | 15 | */ |
16 | 16 | public function update($f) |
17 | 17 | { |
@@ -243,7 +243,7 @@ |
||
243 | 243 | * |
244 | 244 | * @param string $type |
245 | 245 | * |
246 | - * @return int |
|
246 | + * @return string |
|
247 | 247 | */ |
248 | 248 | public function modifierFullName($type = '') |
249 | 249 | { |