@@ -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 | |
@@ -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 | /** |
@@ -5,7 +5,6 @@ |
||
| 5 | 5 | use Gaufrette\Adapter; |
| 6 | 6 | use Gaufrette\File; |
| 7 | 7 | use Gaufrette\Filesystem; |
| 8 | -use Gaufrette\Exception; |
|
| 9 | 8 | |
| 10 | 9 | /** |
| 11 | 10 | * Ftp adapter |
@@ -109,8 +109,7 @@ discard block |
||
| 109 | 109 | { |
| 110 | 110 | try { |
| 111 | 111 | $object = $this->getContainer()->uploadObject($key, $content); |
| 112 | - } |
|
| 113 | - catch (CreateUpdateError $updateError) { |
|
| 112 | + } catch (CreateUpdateError $updateError) { |
|
| 114 | 113 | return false; |
| 115 | 114 | } |
| 116 | 115 | |
@@ -185,8 +184,7 @@ discard block |
||
| 185 | 184 | |
| 186 | 185 | try { |
| 187 | 186 | $object->delete(); |
| 188 | - } |
|
| 189 | - catch (DeleteError $deleteError) { |
|
| 187 | + } catch (DeleteError $deleteError) { |
|
| 190 | 188 | return false; |
| 191 | 189 | } |
| 192 | 190 | |
@@ -249,8 +247,7 @@ discard block |
||
| 249 | 247 | { |
| 250 | 248 | try { |
| 251 | 249 | return $this->getContainer()->getObject($key); |
| 252 | - } |
|
| 253 | - catch (ObjectNotFoundException $objFetchError) { |
|
| 250 | + } catch (ObjectNotFoundException $objFetchError) { |
|
| 254 | 251 | return false; |
| 255 | 252 | } |
| 256 | 253 | } |