Completed
Push — develop ( 5a11da...78fd78 )
by Raphael De
02:33
created
src/Majora/Component/OAuth/Entity/LoginAttempt.php 2 patches
Doc Comments   +2 added lines, -4 removed lines patch added patch discarded remove patch
@@ -39,7 +39,6 @@  discard block
 block discarded – undo
39 39
     /**
40 40
      * Returns query value under given key if defined, null otherwise.
41 41
      *
42
-     * @param string $query
43 42
      *
44 43
      * @return mixed
45 44
      */
@@ -54,9 +53,9 @@  discard block
 block discarded – undo
54 53
     /**
55 54
      * Returns data value under given key if defined, null otherwise.
56 55
      *
57
-     * @param string $data
58 56
      *
59
-     * @return mixed
57
+     * @param string $key
58
+     * @return string
60 59
      */
61 60
     public function getData($key)
62 61
     {
@@ -69,7 +68,6 @@  discard block
 block discarded – undo
69 68
     /**
70 69
      * Returns headers value under given key if defined, null otherwise.
71 70
      *
72
-     * @param string $headers
73 71
      *
74 72
      * @return mixed
75 73
      */
Please login to merge, or discard this patch.
Spacing   +3 added lines, -6 removed lines patch added patch discarded remove patch
@@ -46,8 +46,7 @@  discard block
 block discarded – undo
46 46
     public function getQuery($key)
47 47
     {
48 48
         return isset($this->query[$key]) ?
49
-            $this->query[$key] :
50
-            null
49
+            $this->query[$key] : null
51 50
         ;
52 51
     }
53 52
 
@@ -61,8 +60,7 @@  discard block
 block discarded – undo
61 60
     public function getData($key)
62 61
     {
63 62
         return isset($this->data[$key]) ?
64
-            $this->data[$key] :
65
-            null
63
+            $this->data[$key] : null
66 64
         ;
67 65
     }
68 66
 
@@ -76,8 +74,7 @@  discard block
 block discarded – undo
76 74
     public function getHeaders($key)
77 75
     {
78 76
         return isset($this->headers[$key]) ?
79
-            $this->headers[$key] :
80
-            null
77
+            $this->headers[$key] : null
81 78
         ;
82 79
     }
83 80
 }
Please login to merge, or discard this patch.
src/Majora/Component/OAuth/GrantType/RefreshTokenGrantExtension.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -8,7 +8,6 @@
 block discarded – undo
8 8
 use Majora\Component\OAuth\Loader\RefreshTokenLoaderInterface;
9 9
 use Majora\Component\OAuth\Model\ApplicationInterface;
10 10
 use Symfony\Component\OptionsResolver\OptionsResolver;
11
-use Symfony\Component\Security\Core\Encoder\UserPasswordEncoderInterface;
12 11
 
13 12
 /**
14 13
  * Built-in extension for refresh token.
Please login to merge, or discard this patch.