apply more cs rules for php-cs

This commit is contained in:
2023-10-17 13:27:03 +02:00
parent 0b0cbed9db
commit bc2041cbdd
1485 changed files with 8169 additions and 9620 deletions

View File

@@ -11,12 +11,9 @@ declare(strict_types=1);
namespace Chill\DocStoreBundle\Exception;
use Exception;
use Throwable;
final class StoredObjectManagerException extends Exception
final class StoredObjectManagerException extends \Exception
{
public static function errorDuringHttpRequest(Throwable $exception): self
public static function errorDuringHttpRequest(\Throwable $exception): self
{
return new self('Error during HTTP request.', 500, $exception);
}
@@ -33,7 +30,7 @@ final class StoredObjectManagerException extends Exception
return new self(sprintf('Unable to decrypt content (reason: %s).', $message));
}
public static function unableToGetResponseContent(Throwable $exception): self
public static function unableToGetResponseContent(\Throwable $exception): self
{
return new self('Unable to get content from response.', 500, $exception);
}