aboutsummaryrefslogtreecommitdiffstats
path: root/Mime.php
diff options
context:
space:
mode:
authorIvan Enderlin <ivan.enderlin@hoa-project.net>2016-01-09 09:05:27 +0100
committerIvan Enderlin <ivan.enderlin@hoa-project.net>2016-01-09 09:05:27 +0100
commitf02814b49a7381755e24dd0cd8cbfdebc369f412 (patch)
treeee05662931c07add435dc164e10fdaf20fd87187 /Mime.php
parent658dd496dc8481fcc2c94e7a2d174d47b4844713 (diff)
downloadMime-f02814b49a7381755e24dd0cd8cbfdebc369f412.zip
Mime-f02814b49a7381755e24dd0cd8cbfdebc369f412.tar.gz
Mime-f02814b49a7381755e24dd0cd8cbfdebc369f412.tar.bz2
Quality: Run devtools:cs.
Diffstat (limited to 'Mime.php')
-rw-r--r--Mime.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/Mime.php b/Mime.php
index c04da78..cefe4f1 100644
--- a/Mime.php
+++ b/Mime.php
@@ -8,7 +8,7 @@
*
* New BSD License
*
- * Copyright © 2007-2015, Hoa community. All rights reserved.
+ * Copyright © 2007-2016, Hoa community. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
@@ -46,7 +46,7 @@ use Hoa\Zformat;
* Get informations relative to MIME (media, type, extension, other extensions)
* about a stream.
*
- * @copyright Copyright © 2007-2015 Hoa community
+ * @copyright Copyright © 2007-2016 Hoa community
* @license New BSD License
*/
class Mime implements Zformat\Parameterizable
@@ -142,7 +142,7 @@ class Mime implements Zformat\Parameterizable
* @return void
* @throws \Hoa\Mime\Exception
*/
- public function __construct(Stream $stream, Array $parameters = [])
+ public function __construct(Stream $stream, array $parameters = [])
{
$this->_parameters = new Zformat\Parameter(
$this,
@@ -329,7 +329,7 @@ class Mime implements Zformat\Parameterizable
public static function getMimeFromExtension($extension)
{
$extension = strtolower($extension);
-
+
if (false === static::extensionExists($extension)) {
return null;
}