Completed
Push — master ( a7ec5f...7812c9 )
by Jan-Petter
02:03
created
src/RobotsTxtParser/Directives/Allow.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -32,6 +32,9 @@  discard block
 block discarded – undo
32 32
     protected $host;
33 33
 
34 34
 
35
+    /**
36
+     * @param string $parent
37
+     */
35 38
     public function __construct($array, $parent = null)
36 39
     {
37 40
         $this->array = $array;
@@ -57,6 +60,9 @@  discard block
 block discarded – undo
57 60
         return $this->addPath($line);
58 61
     }
59 62
 
63
+    /**
64
+     * @param string $rule
65
+     */
60 66
     protected function addPath($rule)
61 67
     {
62 68
         // Return an array of paths
Please login to merge, or discard this patch.
src/RobotsTxtParser/Directives/CacheDelay.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -17,6 +17,9 @@
 block discarded – undo
17 17
     protected $parent;
18 18
 
19 19
 
20
+    /**
21
+     * @param string $parent
22
+     */
20 23
     public function __construct($array, $parent = null)
21 24
     {
22 25
         $this->array = $array;
Please login to merge, or discard this patch.
src/RobotsTxtParser/Directives/CrawlDelay.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -17,6 +17,9 @@
 block discarded – undo
17 17
     protected $parent;
18 18
 
19 19
 
20
+    /**
21
+     * @param string $parent
22
+     */
20 23
     public function __construct($array, $parent = null)
21 24
     {
22 25
         $this->array = $array;
Please login to merge, or discard this patch.
src/RobotsTxtParser/Directives/Disallow.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -31,6 +31,9 @@  discard block
 block discarded – undo
31 31
     protected $cleanParam;
32 32
     protected $host;
33 33
 
34
+    /**
35
+     * @param string $parent
36
+     */
34 37
     public function __construct($array, $parent = null)
35 38
     {
36 39
         $this->array = $array;
@@ -56,6 +59,9 @@  discard block
 block discarded – undo
56 59
         return $this->addPath($line);
57 60
     }
58 61
 
62
+    /**
63
+     * @param string $rule
64
+     */
59 65
     protected function addPath($rule)
60 66
     {
61 67
         // Return an array of paths
Please login to merge, or discard this patch.
src/RobotsTxtParser/Parser.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -29,7 +29,7 @@
 block discarded – undo
29 29
      *
30 30
      * @param string $content - file content
31 31
      * @param string $encoding - character encoding
32
-     * @param integer|null $byteLimit - maximum of bytes to parse
32
+     * @param integer $byteLimit - maximum of bytes to parse
33 33
      * @throws Exceptions\ParserException
34 34
      */
35 35
     public function __construct($content, $encoding = self::ENCODING, $byteLimit = self::BYTE_LIMIT)
Please login to merge, or discard this patch.