Completed
Push — master ( e392b8...48a2ec )
by Eric
02:42
created
src/Platforms/View/Rest.php 1 patch
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -9,8 +9,8 @@
 block discarded – undo
9 9
  */
10 10
 namespace JaegerApp\Platforms\View;
11 11
 
12
-use Nocarrier\Hal;
13 12
 use Crell\ApiProblem\ApiProblem;
13
+use Nocarrier\Hal;
14 14
 
15 15
 /**
16 16
  * Jaeger - Rest View Object
Please login to merge, or discard this patch.
src/Rest/Hmac.php 1 patch
Unused Use Statements   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -11,12 +11,12 @@
 block discarded – undo
11 11
 namespace JaegerApp\Rest;
12 12
 
13 13
 use PhilipBrown\Signature\Auth;
14
-use PhilipBrown\Signature\Token;
14
+use PhilipBrown\Signature\Exceptions\SignatureException;
15 15
 use PhilipBrown\Signature\Guards\CheckKey;
16
-use PhilipBrown\Signature\Guards\CheckVersion;
17
-use PhilipBrown\Signature\Guards\CheckTimestamp;
18 16
 use PhilipBrown\Signature\Guards\CheckSignature;
19
-use PhilipBrown\Signature\Exceptions\SignatureException;
17
+use PhilipBrown\Signature\Guards\CheckTimestamp;
18
+use PhilipBrown\Signature\Guards\CheckVersion;
19
+use PhilipBrown\Signature\Token;
20 20
 
21 21
 /**
22 22
  * Jaeger - REST Hmac Object
Please login to merge, or discard this patch.
src/Platforms/Controllers/Rest.php 1 patch
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -88,9 +88,9 @@
 block discarded – undo
88 88
         $hmac = $this->getRest()->getServer()->getHmac();
89 89
         $data = array_merge($this->getRequestHeaders(true), $this->getBodyData());
90 90
         $auth = $hmac->setData($data)
91
-                     ->setRoute($this->getPlatform()->getPost('api_method'))
92
-                     ->setMethod($_SERVER['REQUEST_METHOD'])
93
-                     ->auth($this->settings['api_key'], $this->settings['api_secret']);
91
+                        ->setRoute($this->getPlatform()->getPost('api_method'))
92
+                        ->setMethod($_SERVER['REQUEST_METHOD'])
93
+                        ->auth($this->settings['api_key'], $this->settings['api_secret']);
94 94
         
95 95
         if(!$auth) {
96 96
             return false;
Please login to merge, or discard this patch.