Skip to content
This repository has been archived by the owner on Jan 7, 2022. It is now read-only.

Commit

Permalink
Merge pull request #1 from jobcloud/fix/BE-300/fix-cs
Browse files Browse the repository at this point in the history
fix/BE-300/fix-cs
  • Loading branch information
sawmurai authored Sep 15, 2017
2 parents 37b8cf2 + 016659e commit 4b58b99
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 1 deletion.
2 changes: 2 additions & 0 deletions src/Diff.php
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ protected function getParametersAsArray(array $parameters)

/**
* @param Parameter $parameter
* @return void
*/
protected function addMissingParameter(Parameter $parameter)
{
Expand All @@ -71,6 +72,7 @@ protected function addMissingParameter(Parameter $parameter)

/**
* @param Parameter $parameter
* @return void
*/
protected function addAdditionalParameter(Parameter $parameter)
{
Expand Down
2 changes: 1 addition & 1 deletion src/Parameter.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ class Parameter implements ToArrayInterface
* @param string $name
* @param string|null $type
*/
public function __construct($name, $type = null)
public function __construct(string $name, $type = null)
{
$this->name = $name;
$this->type = $type;
Expand Down
1 change: 1 addition & 0 deletions src/Signature.php
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ public function toArray()

/**
* @param Parameter $parameter
* @return void
*/
protected function addParameter(Parameter $parameter)
{
Expand Down
1 change: 1 addition & 0 deletions src/Validator.php
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ public function compare(Signature $givenSignature, Signature $wishedSignature)
/**
* @param Signature $givenSignature
* @param Signature $wishedSignature
* @return void
*
* @throws InvalidClosureException
*/
Expand Down

0 comments on commit 4b58b99

Please sign in to comment.