Completed
Push — master ( 6d6efd...4d43de )
by Joram van den
04:34
created
lib/Ajde/Lang/Adapter/Gettext.php 1 patch
Doc Comments   +4 added lines patch added patch discarded remove patch
@@ -125,6 +125,10 @@
 block discarded – undo
125 125
      */
126 126
     // protected function _loadTranslationData($filename, $locale, array $options = array())
127 127
     // AJDE : We use this method directly, so it must be public
128
+
129
+    /**
130
+     * @param string $filename
131
+     */
128 132
     public function _loadTranslationData($filename, $locale, array $options = [])
129 133
     {
130 134
         $this->_data = [];
Please login to merge, or discard this patch.
lib/Ajde/Layout.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -30,6 +30,9 @@
 block discarded – undo
30 30
         $this->set("name", $name);
31 31
     }
32 32
 
33
+    /**
34
+     * @param string $style
35
+     */
33 36
     public function setStyle($style)
34 37
     {
35 38
         $this->set("style", $style);
Please login to merge, or discard this patch.
lib/Ajde/Log.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -29,6 +29,9 @@
 block discarded – undo
29 29
         return $getWriters;
30 30
     }
31 31
 
32
+    /**
33
+     * @param string $level
34
+     */
32 35
     private static function shouldLog($level)
33 36
     {
34 37
         $configLevel = current(explode(':', Config::get('logLevel')));
Please login to merge, or discard this patch.
lib/Ajde/Mailer/class.phpmailer.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -3168,7 +3168,7 @@
 block discarded – undo
3168 3168
      * @param string $path A filename or path, does not need to exist as a file
3169 3169
      * @param integer|string $options Either a PATHINFO_* constant,
3170 3170
      *      or a string name to return only the specified piece, allows 'filename' to work on PHP < 5.2
3171
-     * @return string|array
3171
+     * @return string
3172 3172
      * @static
3173 3173
      */
3174 3174
     public static function mb_pathinfo($path, $options = null)
Please login to merge, or discard this patch.
lib/Ajde/Mailer/class.pop3.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -186,8 +186,8 @@
 block discarded – undo
186 186
      *
187 187
      * @access public
188 188
      * @param string $host
189
-     * @param bool|int $port
190
-     * @param bool|int $tval
189
+     * @param boolean $port
190
+     * @param boolean $tval
191 191
      * @param string $username
192 192
      * @param string $password
193 193
      * @param int $debug_level
Please login to merge, or discard this patch.
lib/Ajde/Mailer/class.smtp.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -842,7 +842,7 @@  discard block
 block discarded – undo
842 842
      *
843 843
      * @param string $data The data to send
844 844
      * @access public
845
-     * @return int|bool The number of bytes sent to the server or FALSE on error
845
+     * @return integer The number of bytes sent to the server or FALSE on error
846 846
      */
847 847
     public function client_send($data)
848 848
     {
@@ -857,7 +857,7 @@  discard block
 block discarded – undo
857 857
      * Get the latest error.
858 858
      *
859 859
      * @access public
860
-     * @return array
860
+     * @return string
861 861
      */
862 862
     public function getError()
863 863
     {
Please login to merge, or discard this patch.
lib/Ajde/Model/ValidatorAbstract.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -34,6 +34,9 @@  discard block
 block discarded – undo
34 34
         return $this->_model;
35 35
     }
36 36
 
37
+    /**
38
+     * @param Ajde_Model $model
39
+     */
37 40
     public function setModel($model)
38 41
     {
39 42
         $this->_model = $model;
@@ -84,6 +87,9 @@  discard block
 block discarded – undo
84 87
         return $this->_value;
85 88
     }
86 89
 
90
+    /**
91
+     * @param string|null $value
92
+     */
87 93
     public function validate($fieldOptions, $value)
88 94
     {
89 95
         $this->_value = $value;
Please login to merge, or discard this patch.
lib/Ajde/Object/Magic.php 1 patch
Doc Comments   +6 added lines, -1 removed lines patch added patch discarded remove patch
@@ -35,7 +35,6 @@  discard block
 block discarded – undo
35 35
 
36 36
     /**
37 37
      *
38
-     * @param mixed $name
39 38
      * @param mixed $value
40 39
      * @return mixed
41 40
      */
@@ -83,6 +82,9 @@  discard block
 block discarded – undo
83 82
             empty($value);
84 83
     }
85 84
 
85
+    /**
86
+     * @param string $key
87
+     */
86 88
     public function hasEmpty($key)
87 89
     {
88 90
         return $this->has($key) && $this->isEmpty($key);
@@ -164,6 +166,9 @@  discard block
 block discarded – undo
164 166
         return preg_replace_callback('/_([a-z])/', $func, $str);
165 167
     }
166 168
 
169
+    /**
170
+     * @param string $classname
171
+     */
167 172
     public static function classnameToUppercase($classname)
168 173
     {
169 174
         return str_replace(' ', '_', ucwords(str_replace('_', ' ', $classname)));
Please login to merge, or discard this patch.
lib/Ajde/Publisher.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -27,6 +27,9 @@  discard block
 block discarded – undo
27 27
         $this->_url = $url;
28 28
     }
29 29
 
30
+    /**
31
+     * @return string
32
+     */
30 33
     public function getTitle()
31 34
     {
32 35
         return $this->_title;
@@ -42,6 +45,9 @@  discard block
 block discarded – undo
42 45
         return $this->_message;
43 46
     }
44 47
 
48
+    /**
49
+     * @return string
50
+     */
45 51
     public function getUrl()
46 52
     {
47 53
         return $this->_url;
Please login to merge, or discard this patch.