Completed
Push — master ( 5a5aff...6d6efd )
by Joram van den
04:02
created
lib/Ajde/User.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -265,6 +265,9 @@
 block discarded – undo
265 265
         return $resetHash;
266 266
     }
267 267
 
268
+    /**
269
+     * @param string $hash
270
+     */
268 271
     public function sendResetMail($hash)
269 272
     {
270 273
         // @todo exception
Please login to merge, or discard this patch.
lib/Ajde/Component.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -53,6 +53,9 @@
 block discarded – undo
53 53
         return $url;
54 54
     }
55 55
 
56
+    /**
57
+     * @return string
58
+     */
56 59
     public function getFilename()
57 60
     {
58 61
         return $this->get('filename');
Please login to merge, or discard this patch.
lib/Ajde/Db.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -53,6 +53,9 @@
 block discarded – undo
53 53
         return $url;
54 54
     }
55 55
 
56
+    /**
57
+     * @return string
58
+     */
56 59
     public function getFilename()
57 60
     {
58 61
         return $this->get('filename');
Please login to merge, or discard this patch.
lib/Ajde/Fs/File.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -5,6 +5,9 @@  discard block
 block discarded – undo
5 5
     const TYPE_EXTENSION = 'ext';
6 6
     const TYPE_MIMETYPE = 'mime';
7 7
 
8
+    /**
9
+     * @param string $filename
10
+     */
8 11
     public static function getMimeType($filename)
9 12
     {
10 13
         $realpath = realpath($filename);
@@ -27,6 +30,9 @@  discard block
 block discarded – undo
27 30
         return false;
28 31
     }
29 32
 
33
+    /**
34
+     * @param string|false $mimeType
35
+     */
30 36
     public static function getExtensionFromMime($mimeType)
31 37
     {
32 38
         $mimes = self::_mimetypes();
Please login to merge, or discard this patch.
lib/Ajde/Fs/Find.php 1 patch
Doc Comments   +7 added lines patch added patch discarded remove patch
@@ -2,6 +2,9 @@  discard block
 block discarded – undo
2 2
 
3 3
 class Ajde_Fs_Find extends Ajde_Object_Static
4 4
 {
5
+    /**
6
+     * @param string $pattern
7
+     */
5 8
     public static function findFile($dir, $pattern)
6 9
     {
7 10
         $search = Config::get("local_root") . DIRECTORY_SEPARATOR . $dir . $pattern;
@@ -28,6 +31,10 @@  discard block
 block discarded – undo
28 31
         return $return;
29 32
     }
30 33
 
34
+    /**
35
+     * @param string $dir
36
+     * @param string $pattern
37
+     */
31 38
     public static function findFilenames($dir, $pattern, $flags = 0)
32 39
     {
33 40
         $files = self::findFiles($dir, $pattern, $flags);
Please login to merge, or discard this patch.
lib/Ajde/Core/ExternalLibs.php 1 patch
Doc Comments   +5 added lines patch added patch discarded remove patch
@@ -30,6 +30,11 @@
 block discarded – undo
30 30
         return true;
31 31
     }
32 32
 
33
+    /**
34
+     * @param string $className
35
+     *
36
+     * @return string
37
+     */
33 38
     public static function getClassname($className)
34 39
     {
35 40
         $config = Config::getInstance();
Please login to merge, or discard this patch.
lib/Ajde/Core/Route.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -79,6 +79,9 @@
 block discarded – undo
79 79
         return $this->_originalRoute;
80 80
     }
81 81
 
82
+    /**
83
+     * @param string $route
84
+     */
82 85
     public function setRoute($route)
83 86
     {
84 87
         $this->_route = $route;
Please login to merge, or discard this patch.
lib/Ajde/Fs/Directory.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -14,6 +14,9 @@
 block discarded – undo
14 14
         }
15 15
     }
16 16
 
17
+    /**
18
+     * @param string $dir
19
+     */
17 20
     public static function truncate($dir)
18 21
     {
19 22
         self::delete($dir, true);
Please login to merge, or discard this patch.
lib/Ajde/Http/Curl.php 1 patch
Doc Comments   +2 added lines, -1 removed lines patch added patch discarded remove patch
@@ -116,7 +116,7 @@  discard block
 block discarded – undo
116 116
      *
117 117
      * @param string $url
118 118
      * @param bool|string $toFile
119
-     * @param bool|array $header
119
+     * @param string[] $header
120 120
      * @return string
121 121
      * @throws Exception
122 122
      */
@@ -222,6 +222,7 @@  discard block
 block discarded – undo
222 222
 
223 223
     /**
224 224
      * @source http://stackoverflow.com/a/5498992/938297
225
+     * @param resource $ch
225 226
      */
226 227
     private static function _curl_exec_follow(&$ch, $redirects = 20, $curlopt_header = false)
227 228
     {
Please login to merge, or discard this patch.