Skip to content
This repository has been archived by the owner on Sep 20, 2021. It is now read-only.

Commit

Permalink
chore(cs) Fix declare statement.
Browse files Browse the repository at this point in the history
  • Loading branch information
Hywan committed Aug 30, 2017
1 parent 28cc7e9 commit b76af9b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
4 changes: 3 additions & 1 deletion Bin/Resolve.php
@@ -1,4 +1,6 @@
<?php declare(strict_types=1);
<?php

declare(strict_types=1);

/**
* Hoa
Expand Down
4 changes: 2 additions & 2 deletions Source/Node/Node.php
Expand Up @@ -207,7 +207,7 @@ protected function _resolve(string $path, &$accumulator, string $id = null): ?bo
/**
* Resolve choices, i.e. a reach value has a “;”.
*/
protected function _resolveChoice(string $reach, array &$accumulator)
protected function _resolveChoice(string $reach, array &$accumulator): void
{
if (empty($accumulator)) {
$accumulator = explode(RS, $reach);
Expand Down Expand Up @@ -267,7 +267,7 @@ public function reach(string $queue = null)
* ID of the component.
* Generic one. Should be overrided in children classes.
*/
public function reachId(string $id)
public function reachId(string $id): void
{
throw new Protocol\Exception(
'The node %s has no ID support (tried to reach #%s).',
Expand Down

0 comments on commit b76af9b

Please sign in to comment.