Skip to content

Commit

Permalink
fix: review
Browse files Browse the repository at this point in the history
  • Loading branch information
Sophie Roussel authored and PedroTroller committed Oct 23, 2023
1 parent 4a4e4ac commit c282e47
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
6 changes: 3 additions & 3 deletions spec/Gaufrette/Adapter/functions.php
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ function extension_loaded()
return $extensionLoaded;
}

function opendir()
function opendir(string $url)
{
return true;
}
Expand All @@ -40,7 +40,7 @@ function apc_fetch(string $path)
return sprintf('%s content', $path);
}

function apc_store(string $path)
function apc_store(string $path, mixed $content, int $ttl)
{
if ('prefix-apc-test/invalid' === $path) {
return false;
Expand All @@ -58,7 +58,7 @@ function apc_delete(string $path)
return true;
}

function apc_exists(string $path)
function apc_exists(mixed $path)
{
if ('prefix-apc-test/invalid' === $path) {
return false;
Expand Down
3 changes: 1 addition & 2 deletions tests/Gaufrette/Functional/Adapter/AzureBlobStorageTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,9 @@
*/
class AzureBlobStorageTest extends FunctionalTestCase
{
/** @var string Name of the Azure container used */
/** Name of the Azure container used */
private string $container;

/** @var AzureBlobStorage */
private AzureBlobStorage $adapter;

protected function setUp(): void
Expand Down

0 comments on commit c282e47

Please sign in to comment.