Completed
Pull Request — master (#189)
by Mark
03:07
created
src/CrawlerDetect.php 1 patch
Doc Comments   +2 added lines, -4 removed lines patch added patch discarded remove patch
@@ -101,7 +101,6 @@  discard block
 block discarded – undo
101 101
     /**
102 102
      * Set HTTP headers.
103 103
      *
104
-     * @param array|null $httpHeaders
105 104
      */
106 105
     public function setHttpHeaders()
107 106
     {
@@ -129,7 +128,6 @@  discard block
 block discarded – undo
129 128
     /**
130 129
      * Set the user agent.
131 130
      *
132
-     * @param string|null $userAgent
133 131
      */
134 132
     public function setUserAgent()
135 133
     {
@@ -166,6 +164,7 @@  discard block
 block discarded – undo
166 164
     /**
167 165
      * Check the IP address.
168 166
      * 
167
+     * @param string $userIp
169 168
      * @return $this
170 169
      */
171 170
     public function ip($userIp)
@@ -216,9 +215,8 @@  discard block
 block discarded – undo
216 215
     /**
217 216
      * Check user agent string against the regex.
218 217
      *
219
-     * @param string|null $userAgent
220 218
      *
221
-     * @return bool
219
+     * @return boolean|null
222 220
      */
223 221
     public function isCrawler()
224 222
     {
Please login to merge, or discard this patch.