@@ -154,7 +154,7 @@ |
||
| 154 | 154 | } |
| 155 | 155 | |
| 156 | 156 | /** |
| 157 | - * @param null $default |
|
| 157 | + * @param boolean $default |
|
| 158 | 158 | * @return null|object |
| 159 | 159 | */ |
| 160 | 160 | private function applicationLogger($default = null) |
@@ -10,12 +10,12 @@ |
||
| 10 | 10 | |
| 11 | 11 | use Craft; |
| 12 | 12 | use Flipbox\Stash\Pool; |
| 13 | -use flipbox\craft\psr6\events\RegisterCachePools; |
|
| 14 | 13 | use Psr\Log\LoggerInterface; |
| 15 | 14 | use Stash\Driver\BlackHole; |
| 16 | 15 | use Stash\Driver\FileSystem; |
| 17 | 16 | use Stash\Interfaces\DriverInterface; |
| 18 | 17 | use Stash\Interfaces\PoolInterface; |
| 18 | +use flipbox\craft\psr6\events\RegisterCachePools; |
|
| 19 | 19 | use yii\base\Component; |
| 20 | 20 | |
| 21 | 21 | /** |
@@ -64,7 +64,7 @@ |
||
| 64 | 64 | } |
| 65 | 65 | |
| 66 | 66 | /** |
| 67 | - * @param $pool |
|
| 67 | + * @param PoolInterface $pool |
|
| 68 | 68 | * @return null |
| 69 | 69 | */ |
| 70 | 70 | protected function resolvePool($pool) |
@@ -9,9 +9,9 @@ |
||
| 9 | 9 | namespace flipbox\craft\psr6\events; |
| 10 | 10 | |
| 11 | 11 | use Craft; |
| 12 | +use Stash\Interfaces\PoolInterface; |
|
| 12 | 13 | use craft\helpers\Json; |
| 13 | 14 | use flipbox\spark\helpers\ObjectHelper; |
| 14 | -use Stash\Interfaces\PoolInterface; |
|
| 15 | 15 | use yii\base\Event; |
| 16 | 16 | |
| 17 | 17 | /** |