Completed
Push — master ( fe3648...7f328f )
by Mehmet
03:23
created
src/RedisCache.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -107,7 +107,7 @@  discard block
 block discarded – undo
107 107
     /**
108 108
      * Obtain multiple cache items by their unique keys
109 109
      *
110
-     * @param array|Traversable $keys A list of keys that can obtained in a single operation.
110
+     * @param string[] $keys A list of keys that can obtained in a single operation.
111 111
      *
112 112
      * @return array An array of key => value pairs. Cache keys that do not exist or are stale will have a value of null.
113 113
      */
@@ -139,7 +139,7 @@  discard block
 block discarded – undo
139 139
     /**
140 140
      * Delete multiple cache items in a single operation
141 141
      *
142
-     * @param array|Traversable $keys The array of string-based keys to be deleted
142
+     * @param string[] $keys The array of string-based keys to be deleted
143 143
      *
144 144
      * @return bool True on success and false on failure
145 145
      */
Please login to merge, or discard this patch.
tests/bootstrap.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -3,7 +3,7 @@
 block discarded – undo
3 3
 
4 4
 use Composer\Autoload\ClassLoader;
5 5
 
6
-require_once dirname(__DIR__) . '/vendor/autoload.php';
6
+require_once dirname(__DIR__).'/vendor/autoload.php';
7 7
 $loader = new ClassLoader();
8 8
 $loader->add('tests', dirname(__DIR__));
9 9
 $loader->register();
Please login to merge, or discard this patch.
tests/RedisCacheTest.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -21,10 +21,10 @@  discard block
 block discarded – undo
21 21
 
22 22
     public function testSetGetDeleteItem()
23 23
     {
24
-        $ins1 = $this->client->set('test1','value1');
24
+        $ins1 = $this->client->set('test1', 'value1');
25 25
         $this->assertTrue($ins1);
26 26
         $value1 = $this->client->get('test1');
27
-        $this->assertEquals('value1',$value1);
27
+        $this->assertEquals('value1', $value1);
28 28
         $delete = $this->client->delete('test1');
29 29
         $this->assertTrue($delete);
30 30
     }
@@ -69,7 +69,7 @@  discard block
 block discarded – undo
69 69
         $this->assertEquals(0, $counter_d_0);
70 70
     }
71 71
 
72
-    public function testClear(){
72
+    public function testClear() {
73 73
         $clear = $this->client->clear();
74 74
         $this->assertTrue($clear);
75 75
     }
Please login to merge, or discard this patch.