@@ -28,6 +28,9 @@ |
||
28 | 28 | return self::$instance; |
29 | 29 | } |
30 | 30 | |
31 | + /** |
|
32 | + * @param string $message |
|
33 | + */ |
|
31 | 34 | public static function log($message) |
32 | 35 | { |
33 | 36 | self::instance()->console->logError('Gah, this is using Debugger::log()!'); |
@@ -18,6 +18,9 @@ discard block |
||
18 | 18 | $this->headers['Bcc'] = "Jacob <{$config->admin_email}>"; |
19 | 19 | } |
20 | 20 | |
21 | + /** |
|
22 | + * @param string $person |
|
23 | + */ |
|
21 | 24 | public function setToAddress($email, $person = null) |
22 | 25 | { |
23 | 26 | if($person) |
@@ -27,12 +30,18 @@ discard block |
||
27 | 30 | return $this; |
28 | 31 | } |
29 | 32 | |
33 | + /** |
|
34 | + * @param string $subject |
|
35 | + */ |
|
30 | 36 | public function setSubject($subject) |
31 | 37 | { |
32 | 38 | $this->subject = $subject; |
33 | 39 | return $this; |
34 | 40 | } |
35 | 41 | |
42 | + /** |
|
43 | + * @param string $message |
|
44 | + */ |
|
36 | 45 | public function setMessage($message) |
37 | 46 | { |
38 | 47 | $this->message = $message; |
@@ -34,6 +34,9 @@ |
||
34 | 34 | return false; |
35 | 35 | } |
36 | 36 | |
37 | + /** |
|
38 | + * @param string $key |
|
39 | + */ |
|
37 | 40 | static function getGet($key = null) |
38 | 41 | { |
39 | 42 | if($key) |
@@ -72,6 +72,11 @@ |
||
72 | 72 | return $matches[0] == $string; |
73 | 73 | } |
74 | 74 | |
75 | + /** |
|
76 | + * @param string $type |
|
77 | + * @param string $key |
|
78 | + * @param string $validation |
|
79 | + */ |
|
75 | 80 | public static function checkRequest($type, $key, $validation, $strict = false) |
76 | 81 | { |
77 | 82 | switch($type) |
@@ -239,6 +239,9 @@ |
||
239 | 239 | return $text; |
240 | 240 | } |
241 | 241 | |
242 | + /** |
|
243 | + * @param string $type |
|
244 | + */ |
|
242 | 245 | private function get_replace_text($entity_type, $entity, $type) |
243 | 246 | { |
244 | 247 | switch($entity_type) |
@@ -36,6 +36,10 @@ discard block |
||
36 | 36 | $this->replace_element_patterns(); |
37 | 37 | } |
38 | 38 | |
39 | + /** |
|
40 | + * @param string $pattern |
|
41 | + * @param string $replace |
|
42 | + */ |
|
39 | 43 | private function process_element($pattern, $replace) |
40 | 44 | { |
41 | 45 | $match_count = preg_match_all($pattern, $this->content, $matches, PREG_SET_ORDER); |
@@ -75,6 +79,10 @@ discard block |
||
75 | 79 | $this->content = strip_tags($this->content); |
76 | 80 | } |
77 | 81 | |
82 | + /** |
|
83 | + * @param string $pattern |
|
84 | + * @param string $replace |
|
85 | + */ |
|
78 | 86 | private function link_unlinked_urls($pattern, $replace) |
79 | 87 | { |
80 | 88 | $match_count = preg_match_all($pattern, $this->content, $matches, PREG_SET_ORDER); |
@@ -23,6 +23,9 @@ |
||
23 | 23 | return; |
24 | 24 | } |
25 | 25 | |
26 | + /** |
|
27 | + * @param boolean $is_absolute |
|
28 | + */ |
|
26 | 29 | private function get_link($string, $is_absolute, $anchor = '') |
27 | 30 | { |
28 | 31 | list($type, $uri) = explode('/', $string, 2); |
@@ -11,7 +11,7 @@ discard block |
||
11 | 11 | protected $connections; |
12 | 12 | |
13 | 13 | /** |
14 | - * @param Aura\Sql\ConnectionLocator $connections |
|
14 | + * @param ConnectionLocator $connections |
|
15 | 15 | */ |
16 | 16 | public function __construct(ConnectionLocator $connections) |
17 | 17 | { |
@@ -22,7 +22,7 @@ discard block |
||
22 | 22 | * @param string $category |
23 | 23 | * @param string $path |
24 | 24 | * |
25 | - * @return array|false |
|
25 | + * @return boolean |
|
26 | 26 | */ |
27 | 27 | public function findByPath($category, $path) |
28 | 28 | { |
@@ -11,7 +11,7 @@ discard block |
||
11 | 11 | protected $connections; |
12 | 12 | |
13 | 13 | /** |
14 | - * @param ConnectonLocator $connections |
|
14 | + * @param ConnectionLocator $connections |
|
15 | 15 | */ |
16 | 16 | public function __construct(ConnectionLocator $connections) |
17 | 17 | { |
@@ -41,7 +41,6 @@ discard block |
||
41 | 41 | } |
42 | 42 | |
43 | 43 | /** |
44 | - * @param string $title |
|
45 | 44 | * |
46 | 45 | * @return array|false |
47 | 46 | */ |