Completed
Push — master ( 55c607...4c5ade )
by Nil
06:10
created
src/Adapter/SQL/AbstractAdapter.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -77,7 +77,7 @@  discard block
 block discarded – undo
77 77
         $this->connection     = $this->getConnection();
78 78
         $this->cacheTableName = $tableName;
79 79
 
80
-        $this->nextAdapter     = (InMemoryAdapter::getInstance() === $next) ? null : $next;
80
+        $this->nextAdapter = (InMemoryAdapter::getInstance() === $next) ? null : $next;
81 81
     }
82 82
 
83 83
     /**
@@ -109,7 +109,7 @@  discard block
 block discarded – undo
109 109
                 ? $this->parameters[AbstractPDOConnection::USER] : null,
110 110
             (!empty($this->parameters[AbstractPDOConnection::PASSWORD]))
111 111
                 ? $this->parameters[AbstractPDOConnection::PASSWORD] : null,
112
-            (!empty($this->parameters[AbstractPDOConnection::DRIVER_OPTIONS])) ? : [],
112
+            (!empty($this->parameters[AbstractPDOConnection::DRIVER_OPTIONS])) ?: [],
113 113
         ];
114 114
 
115 115
         $pdo = $class->newInstanceArgs($parameters);
Please login to merge, or discard this patch.
src/Adapter/PredisAdapter.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -18,7 +18,7 @@
 block discarded – undo
18 18
      */
19 19
     public function __construct(array $connections, CacheAdapter $next = null)
20 20
     {
21
-        $this->nextAdapter     = (InMemoryAdapter::getInstance() === $next) ? null: $next;
21
+        $this->nextAdapter = (InMemoryAdapter::getInstance() === $next) ? null : $next;
22 22
 
23 23
         try {
24 24
             $this->connected = true;
Please login to merge, or discard this patch.
src/Adapter/InMemoryAdapterFactory.php 1 patch
Indentation   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -1,12 +1,12 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * Author: Nil Portugués Calderó <[email protected]>
4
- * Date: 12/9/15
5
- * Time: 4:41 PM
6
- *
7
- * For the full copyright and license information, please view the LICENSE
8
- * file that was distributed with this source code.
9
- */
3
+     * Author: Nil Portugués Calderó <[email protected]>
4
+     * Date: 12/9/15
5
+     * Time: 4:41 PM
6
+     *
7
+     * For the full copyright and license information, please view the LICENSE
8
+     * file that was distributed with this source code.
9
+     */
10 10
 
11 11
 namespace NilPortugues\Cache\Adapter;
12 12
 
Please login to merge, or discard this patch.
src/Adapter/FileSystemAdapter.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -27,7 +27,7 @@
 block discarded – undo
27 27
      */
28 28
     public function __construct($cacheDir, CacheAdapter $next = null)
29 29
     {
30
-        $this->nextAdapter     = (InMemoryAdapter::getInstance() === $next) ? null : $next;
30
+        $this->nextAdapter = (InMemoryAdapter::getInstance() === $next) ? null : $next;
31 31
 
32 32
         $cacheDir = \realpath($cacheDir);
33 33
 
Please login to merge, or discard this patch.
src/Adapter/RedisAdapter.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -34,7 +34,7 @@
 block discarded – undo
34 34
             $this->connected = false;
35 35
         }
36 36
 
37
-        $this->nextAdapter     = (InMemoryAdapter::getInstance() === $next) ? null: $next;
37
+        $this->nextAdapter = (InMemoryAdapter::getInstance() === $next) ? null : $next;
38 38
     }
39 39
 
40 40
 
Please login to merge, or discard this patch.