Completed
Push — next ( 30186a...81988a )
by François
02:27
created
src/Bouncer.php 1 patch
Doc Comments   +8 added lines patch added patch discarded remove patch
@@ -119,6 +119,7 @@  discard block
 block discarded – undo
119 119
 
120 120
     /**
121 121
      * @throw Exception
122
+     * @param string $message
122 123
      */
123 124
     public function error($message)
124 125
     {
@@ -376,6 +377,10 @@  discard block
 block discarded – undo
376 377
      *
377 378
      * @return array|object
378 379
      */
380
+
381
+    /**
382
+     * @param string $type
383
+     */
379 384
     protected function processAnalyzers($type, $value)
380 385
     {
381 386
         if (isset($this->analyzers[$type])) {
@@ -511,6 +516,9 @@  discard block
 block discarded – undo
511 516
         exit;
512 517
     }
513 518
 
519
+    /**
520
+     * @param string $string
521
+     */
514 522
     public static function hash($string)
515 523
     {
516 524
         return md5($string);
Please login to merge, or discard this patch.
src/Identity.php 1 patch
Doc Comments   +8 added lines patch added patch discarded remove patch
@@ -119,11 +119,19 @@
 block discarded – undo
119 119
         }
120 120
     }
121 121
 
122
+    /**
123
+     * @param string $key
124
+     */
122 125
     public function hasAttribute($key)
123 126
     {
124 127
         return isset($this->$key);
125 128
     }
126 129
 
130
+    /**
131
+     * @param string $key
132
+     *
133
+     * @return string|null
134
+     */
127 135
     public function getAttribute($key)
128 136
     {
129 137
         return isset($this->$key) ? $this->$key : null;
Please login to merge, or discard this patch.
src/Logger/LogstashLogger.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -14,7 +14,6 @@
 block discarded – undo
14 14
 use Monolog\Formatter\LogstashFormatter;
15 15
 use Monolog\Handler\StreamHandler;
16 16
 use Monolog\Logger;
17
-
18 17
 use Bouncer\Identity;
19 18
 use Bouncer\Request;
20 19
 
Please login to merge, or discard this patch.
src/Request.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
         return $userAgent ? $userAgent : '';
33 33
     }
34 34
 
35
+    /**
36
+     * @param string $name
37
+     */
35 38
     public function getHeader($name)
36 39
     {
37 40
         return $this->headers->get($name);
@@ -64,6 +67,9 @@  discard block
 block discarded – undo
64 67
         return $headers;
65 68
     }
66 69
 
70
+    /**
71
+     * @param boolean $name
72
+     */
67 73
     public function getCookie($name)
68 74
     {
69 75
         return $this->cookies->get($name);
Please login to merge, or discard this patch.
src/Cache/Memcache.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -14,7 +14,6 @@
 block discarded – undo
14 14
 use Monolog\Formatter\LogstashFormatter;
15 15
 use Monolog\Handler\StreamHandler;
16 16
 use Monolog\Logger;
17
-
18 17
 use Bouncer\Identity;
19 18
 use Bouncer\Request;
20 19
 
Please login to merge, or discard this patch.
src/Cache/Redis.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -14,7 +14,6 @@
 block discarded – undo
14 14
 use Monolog\Formatter\LogstashFormatter;
15 15
 use Monolog\Handler\StreamHandler;
16 16
 use Monolog\Logger;
17
-
18 17
 use Bouncer\Identity;
19 18
 use Bouncer\Request;
20 19
 
Please login to merge, or discard this patch.