Completed
Push — master ( 0576d5...c4f381 )
by Askupa
01:58
created
ComponentFactory.php 1 patch
Doc Comments   +7 added lines, -4 removed lines patch added patch discarded remove patch
@@ -50,6 +50,9 @@  discard block
 block discarded – undo
50 50
         else throw new \RuntimeException("A component of type '$type' has already been registered.");
51 51
     }
52 52
     
53
+    /**
54
+     * @param string $path
55
+     */
53 56
     public static function get_url( $path )
54 57
     {
55 58
         $url  = str_replace( ABSPATH, '', $path );
@@ -58,8 +61,8 @@  discard block
 block discarded – undo
58 61
     
59 62
     /**
60 63
      * 
61
-     * @param type $type
62
-     * @param type $props
64
+     * @param string $type
65
+     * @param type string
63 66
      * @throws \RuntimeException
64 67
      */
65 68
     private static function create_core_component( $type, $props )
@@ -85,8 +88,8 @@  discard block
 block discarded – undo
85 88
     
86 89
     /**
87 90
      * 
88
-     * @param type $type
89
-     * @param type $props
91
+     * @param string $type
92
+     * @param type string
90 93
      * @throws \RuntimeException
91 94
      */
92 95
     private static function create_registered_component( $type, $props )
Please login to merge, or discard this patch.