Passed
Branch master (0e82da)
by Giacomo "Mr. Wolf"
03:29
created
Category
src/Audiens/Cache/RedisCache.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -92,7 +92,7 @@
 block discarded – undo
92 92
     {
93 93
         $hash = $this->getHash($providerPrefix, $uri, $query);
94 94
 
95
-        return (bool) $this->client->del($hash);
95
+        return (bool)$this->client->del($hash);
96 96
     }
97 97
 
98 98
     /**
Please login to merge, or discard this patch.
src/Audiens/Exception/EntityNotFoundException.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -11,7 +11,7 @@
 block discarded – undo
11 11
 
12 12
     public static function translate($entityId, $message, $code)
13 13
     {
14
-        return new self (
14
+        return new self(
15 15
             sprintf(self::MESSAGE, $entityId, $message),
16 16
             $code,
17 17
             null,
Please login to merge, or discard this patch.
src/Audiens/Exception/ApiException.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -11,7 +11,7 @@
 block discarded – undo
11 11
 
12 12
     public static function translate($message, $code)
13 13
     {
14
-        return new self (
14
+        return new self(
15 15
             sprintf(self::MESSAGE, $message),
16 16
             $code,
17 17
             null,
Please login to merge, or discard this patch.
src/Audiens/Exception/OauthException.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -11,7 +11,7 @@
 block discarded – undo
11 11
 
12 12
     public static function connect($message)
13 13
     {
14
-        return new self (
14
+        return new self(
15 15
             sprintf(self::MESSAGE, $message),
16 16
             0,
17 17
             null,
Please login to merge, or discard this patch.
src/Audiens/Exception/RedisException.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -11,7 +11,7 @@
 block discarded – undo
11 11
 
12 12
     public static function connect($message)
13 13
     {
14
-        return new self (
14
+        return new self(
15 15
             sprintf(self::MESSAGE, $message),
16 16
             0,
17 17
             null,
Please login to merge, or discard this patch.
src/Audiens/Exception/EntityInvalidException.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -39,7 +39,7 @@
 block discarded – undo
39 39
      */
40 40
     public static function invalid($message, $code, $errors)
41 41
     {
42
-        return new self (
42
+        return new self(
43 43
             sprintf(self::MESSAGE, $message),
44 44
             $code,
45 45
             $errors,
Please login to merge, or discard this patch.
examples/audiences.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -23,7 +23,7 @@
 block discarded – undo
23 23
 //audiences by segment id
24 24
 /** @var \Audiens\AdForm\Entity\Audience[] $audiences */
25 25
 $audiences = $adform->audience()->getItem(12345);
26
-foreach($audiences as $audience)
26
+foreach ($audiences as $audience)
27 27
 {
28 28
     echo $audience->getSegmentId()."\n";
29 29
     echo $audience->getDate()->format('yyyy-mm-dd')."\n";
Please login to merge, or discard this patch.