Completed
Push — master ( 5f5211...c77afb )
by Joram van den
14:38 queued 08:49
created
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.