@@ -341,6 +341,10 @@ |
||
341 | 341 | return $file; |
342 | 342 | } |
343 | 343 | |
344 | + /** |
|
345 | + * @param string $class |
|
346 | + * @param string $ext |
|
347 | + */ |
|
344 | 348 | private function findFileWithExtension($class, $ext) |
345 | 349 | { |
346 | 350 | // PSR-4 lookup |
@@ -3,7 +3,6 @@ |
||
3 | 3 | namespace spec\Gaufrette\Adapter; |
4 | 4 | |
5 | 5 | use PhpSpec\ObjectBehavior; |
6 | -use Prophecy\Argument; |
|
7 | 6 | |
8 | 7 | class AwsS3Spec extends ObjectBehavior |
9 | 8 | { |
@@ -302,6 +302,9 @@ |
||
302 | 302 | { |
303 | 303 | private $filename; |
304 | 304 | |
305 | + /** |
|
306 | + * @param string $filename |
|
307 | + */ |
|
305 | 308 | public function __construct($filename) |
306 | 309 | { |
307 | 310 | $this->filename = $filename; |
@@ -4,7 +4,6 @@ |
||
4 | 4 | |
5 | 5 | use OpenCloud\ObjectStore\Exception\ObjectNotFoundException; |
6 | 6 | use PhpSpec\ObjectBehavior; |
7 | -use Prophecy\Argument; |
|
8 | 7 | |
9 | 8 | /** |
10 | 9 | * LazyOpenCloudSpec |
@@ -7,7 +7,6 @@ |
||
7 | 7 | use OpenCloud\Common\Exceptions\DeleteError; |
8 | 8 | use OpenCloud\ObjectStore\Exception\ObjectNotFoundException; |
9 | 9 | use PhpSpec\ObjectBehavior; |
10 | -use Prophecy\Argument; |
|
11 | 10 | |
12 | 11 | /** |
13 | 12 | * OpenCloudSpec |
@@ -137,7 +137,7 @@ |
||
137 | 137 | /** |
138 | 138 | * @param string $key - by default '' |
139 | 139 | * @param integer $format - by default APC_ITER_NONE |
140 | - * @return \APCIterator |
|
140 | + * @return \Traversable |
|
141 | 141 | * |
142 | 142 | */ |
143 | 143 | protected function getCachedKeysIterator($key = '', $format = APC_ITER_NONE) |
@@ -5,7 +5,6 @@ |
||
5 | 5 | use Gaufrette\Adapter; |
6 | 6 | use Gaufrette\Util; |
7 | 7 | use Gaufrette\Adapter\AzureBlobStorage\BlobProxyFactoryInterface; |
8 | - |
|
9 | 8 | use WindowsAzure\Blob\Models\CreateBlobOptions; |
10 | 9 | use WindowsAzure\Blob\Models\CreateContainerOptions; |
11 | 10 | use WindowsAzure\Blob\Models\DeleteContainerOptions; |
@@ -2,7 +2,6 @@ |
||
2 | 2 | |
3 | 3 | namespace Gaufrette\Adapter; |
4 | 4 | |
5 | -use Gaufrette\File; |
|
6 | 5 | use Gaufrette\Adapter; |
7 | 6 | use Gaufrette\Adapter\InMemory as InMemoryAdapter; |
8 | 7 |
@@ -152,6 +152,10 @@ |
||
152 | 152 | return false; |
153 | 153 | } |
154 | 154 | |
155 | + /** |
|
156 | + * @param string $key |
|
157 | + * @param string $column |
|
158 | + */ |
|
155 | 159 | private function getColumnValue($key, $column) |
156 | 160 | { |
157 | 161 | $value = $this->connection->fetchColumn( |
@@ -4,7 +4,6 @@ |
||
4 | 4 | |
5 | 5 | use Gaufrette\Adapter; |
6 | 6 | use Gaufrette\Util; |
7 | - |
|
8 | 7 | use Doctrine\DBAL\Connection; |
9 | 8 | |
10 | 9 | /** |