aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorIvan Enderlin <ivan.enderlin@hoa-project.net>2016-01-09 09:01:49 +0100
committerIvan Enderlin <ivan.enderlin@hoa-project.net>2016-01-09 09:01:49 +0100
commitb310de34012b0af56a0e1ecc9c5fe0caed6d4c3c (patch)
treece3b5c1038f3da76de1f403b8fcb3aa32e0a72f2
parent2619e52b357bb7ec7bbfc1dbcbd9afc923c5dd88 (diff)
downloadFastcgi-b310de34012b0af56a0e1ecc9c5fe0caed6d4c3c.zip
Fastcgi-b310de34012b0af56a0e1ecc9c5fe0caed6d4c3c.tar.gz
Fastcgi-b310de34012b0af56a0e1ecc9c5fe0caed6d4c3c.tar.bz2
Quality: Run devtools:cs.
-rw-r--r--Connection.php6
-rw-r--r--Exception/CannotMultiplex.php4
-rw-r--r--Exception/Exception.php4
-rw-r--r--Exception/Overloaded.php4
-rw-r--r--Exception/UnknownRole.php4
-rw-r--r--Responder.php6
6 files changed, 14 insertions, 14 deletions
diff --git a/Connection.php b/Connection.php
index 6fd597f..fe0515d 100644
--- a/Connection.php
+++ b/Connection.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:
@@ -44,7 +44,7 @@ namespace Hoa\Fastcgi;
* http://fastcgi.com/devkit/doc/fcgi-spec.html.
* Inspired by PHP SAPI code: php://sapi/cgi/fastcgi.*.
*
- * @copyright Copyright © 2007-2015 Hoa community
+ * @copyright Copyright © 2007-2016 Hoa community
* @license New BSD License
*/
abstract class Connection
@@ -130,7 +130,7 @@ abstract class Connection
* @param array $pairs Keys/values array.
* @return string
*/
- public function packPairs(Array $pairs)
+ public function packPairs(array $pairs)
{
$out = null;
diff --git a/Exception/CannotMultiplex.php b/Exception/CannotMultiplex.php
index 1f89194..7ce5725 100644
--- a/Exception/CannotMultiplex.php
+++ b/Exception/CannotMultiplex.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:
@@ -44,7 +44,7 @@ namespace Hoa\Fastcgi\Exception;
* to an application that is designed to process one request at a time per
* connection.
*
- * @copyright Copyright © 2007-2015 Hoa community
+ * @copyright Copyright © 2007-2016 Hoa community
* @license New BSD License
*/
class CannotMultiplex extends Exception
diff --git a/Exception/Exception.php b/Exception/Exception.php
index 7ce53a5..334031c 100644
--- a/Exception/Exception.php
+++ b/Exception/Exception.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:
@@ -44,7 +44,7 @@ use Hoa\Exception as HoaException;
*
* Extending the \Hoa\Exception\Exception class.
*
- * @copyright Copyright © 2007-2015 Hoa community
+ * @copyright Copyright © 2007-2016 Hoa community
* @license New BSD License
*/
class Exception extends HoaException
diff --git a/Exception/Overloaded.php b/Exception/Overloaded.php
index c7a4b5b..690e9fc 100644
--- a/Exception/Overloaded.php
+++ b/Exception/Overloaded.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:
@@ -43,7 +43,7 @@ namespace Hoa\Fastcgi\Exception;
* This happens when the application runs out of some resource, e.g. database
* connections.
*
- * @copyright Copyright © 2007-2015 Hoa community
+ * @copyright Copyright © 2007-2016 Hoa community
* @license New BSD License
*/
class Overloaded extends Exception
diff --git a/Exception/UnknownRole.php b/Exception/UnknownRole.php
index 68dfc82..0c65822 100644
--- a/Exception/UnknownRole.php
+++ b/Exception/UnknownRole.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:
@@ -43,7 +43,7 @@ namespace Hoa\Fastcgi\Exception;
* This happens when the Web server has specified a role that is unknown to the
* application.
*
- * @copyright Copyright © 2007-2015 Hoa community
+ * @copyright Copyright © 2007-2016 Hoa community
* @license New BSD License
*/
class UnknownRole extends Exception
diff --git a/Responder.php b/Responder.php
index 4745935..fcfc295 100644
--- a/Responder.php
+++ b/Responder.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:
@@ -44,7 +44,7 @@ use Hoa\Socket;
* A FastCGI client with a responder role.
* Inspired by PHP SAPI code: php://sapi/cgi/fastcgi.*.
*
- * @copyright Copyright © 2007-2015 Hoa community
+ * @copyright Copyright © 2007-2016 Hoa community
* @license New BSD License
*/
class Responder extends Connection
@@ -178,7 +178,7 @@ class Responder extends Connection
* @throws \Hoa\Fastcgi\Exception\Overloaded
* @throws \Hoa\Fastcgi\Exception\UnknownRole
*/
- public function send(Array $headers, $content = null)
+ public function send(array $headers, $content = null)
{
$client = $this->getClient();
$client->connect();