Completed
Push — master ( 9c37c7...1d2d63 )
by Jens
08:02
created
src/Cache/CacheAdapterFactory.php 1 patch
Doc Comments   +11 added lines patch added patch discarded remove patch
@@ -29,10 +29,17 @@  discard block
 block discarded – undo
29 29
      */
30 30
     protected $callbacks = [];
31 31
 
32
+    /**
33
+     * @param string $cacheDir
34
+     */
32 35
     public function __construct($cacheDir = null)
33 36
     {
34 37
         $this->cacheDir = !is_null($cacheDir) ? $cacheDir : realpath(__DIR__ . '/../..');
35 38
         $this->registerCallback(
39
+
40
+            /**
41
+             * @param string $cache
42
+             */
36 43
             function ($cache) {
37 44
                 if ($cache instanceof Cache) {
38 45
                     return new DoctrineCacheAdapter($cache);
@@ -41,6 +48,10 @@  discard block
 block discarded – undo
41 48
             }
42 49
         )
43 50
         ->registerCallback(
51
+
52
+            /**
53
+             * @param string $cache
54
+             */
44 55
             function ($cache) {
45 56
                 if ($cache instanceof \Redis) {
46 57
                     return new PhpRedisCacheAdapter($cache);
Please login to merge, or discard this patch.
src/Client/OAuth/Manager.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -77,7 +77,7 @@
 block discarded – undo
77 77
 
78 78
     /**
79 79
      * @internal will become protected in version 2.0
80
-     * @return CacheAdapterInterface|CacheItemPoolInterface
80
+     * @return CacheItemPoolInterface
81 81
      */
82 82
     public function getCacheAdapter()
83 83
     {
Please login to merge, or discard this patch.