aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorIvan Enderlin <ivan.enderlin@hoa-project.net>2017-11-07 14:59:22 +0100
committerIvan Enderlin <ivan.enderlin@hoa-project.net>2017-11-07 14:59:22 +0100
commit5f4bbb86eb68b9fbf45775de52e9cd72e0d0945e (patch)
treee84ba31e915ed097c666262cc1bb0d3edd4f7df6
parent42153d7c5dd45b073d2bebad2fc89ade4dea9fb1 (diff)
downloadTest-5f4bbb86eb68b9fbf45775de52e9cd72e0d0945e.zip
Test-5f4bbb86eb68b9fbf45775de52e9cd72e0d0945e.tar.gz
Test-5f4bbb86eb68b9fbf45775de52e9cd72e0d0945e.tar.bz2
chore(php) Update to PHP 7.
-rw-r--r--Protocol/Vfs.php13
1 files changed, 1 insertions, 12 deletions
diff --git a/Protocol/Vfs.php b/Protocol/Vfs.php
index 36bc87b..61d41bf 100644
--- a/Protocol/Vfs.php
+++ b/Protocol/Vfs.php
@@ -43,23 +43,16 @@ use Hoa\Protocol;
* Class \Hoa\Test\Protocol\Vfs.
*
* Create the `hoa://Test/Vfs/` node.
- *
- * @copyright Copyright © 2007-2017 Hoa community
- * @license New BSD License
*/
class Vfs extends Protocol\Node
{
/**
* Component's name.
- *
- * @var string
*/
protected $_name = 'Vfs';
/**
* Current opened streams.
- *
- * @var array
*/
protected $_streams = [];
@@ -67,12 +60,8 @@ class Vfs extends Protocol\Node
/**
* Queue of the component.
- *
- * @param string $queue Queue of the component (generally, a filename,
- * with probably a query).
- * @return mixed
*/
- public function reach($queue = null)
+ public function reach(string $queue = null): ?string
{
if (null === $queue) {
return null;