Completed
Push — master ( 2359d0...f1929c )
by François
04:23
created
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.
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 string $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/Resource.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -44,6 +44,9 @@
 block discarded – undo
44 44
         return isset($this->$key);
45 45
     }
46 46
 
47
+    /**
48
+     * @param string $name
49
+     */
47 50
     public function getAttribute($name)
48 51
     {
49 52
         if (isset($this->attributes[$name])) {
Please login to merge, or discard this patch.
src/Bouncer.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -154,6 +154,7 @@  discard block
 block discarded – undo
154 154
 
155 155
     /**
156 156
      * @throw Exception
157
+     * @param string $message
157 158
      */
158 159
     public function error($message)
159 160
     {
@@ -421,6 +422,11 @@  discard block
 block discarded – undo
421 422
      *
422 423
      * @return object
423 424
      */
425
+
426
+    /**
427
+     * @param string $type
428
+     * @param Identity $value
429
+     */
424 430
     protected function processAnalyzers($type, $value)
425 431
     {
426 432
         if (isset($this->analyzers[$type])) {
Please login to merge, or discard this patch.