Skip to content

Commit

Permalink
Fixed scrutinizer issues on pin classes
Browse files Browse the repository at this point in the history
  • Loading branch information
AndrewCarterUK committed Jul 9, 2016
1 parent a5b1814 commit f9ede4f
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 8 deletions.
3 changes: 0 additions & 3 deletions src/Pin/InputPin.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,6 @@ final class InputPin extends Pin implements InputPinInterface
*/
public function __construct(FileSystemInterface $fileSystem, $number)
{
$this->fileSystem = $fileSystem;
$this->number = $number;

parent::__construct($fileSystem, $number);

$this->setDirection(self::DIRECTION_IN);
Expand Down
3 changes: 0 additions & 3 deletions src/Pin/OutputPin.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,6 @@ final class OutputPin extends Pin implements OutputPinInterface
*/
public function __construct(FileSystemInterface $fileSystem, $number)
{
$this->fileSystem = $fileSystem;
$this->number = $number;

parent::__construct($fileSystem, $number);

$this->setDirection(self::DIRECTION_OUT);
Expand Down
4 changes: 2 additions & 2 deletions src/Pin/Pin.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@ abstract class Pin implements PinInterface
const DIRECTION_IN = 'in';
const DIRECTION_OUT = 'out';

private $fileSystem;
private $number;
protected $fileSystem;
protected $number;

/**
* Constructor.
Expand Down

0 comments on commit f9ede4f

Please sign in to comment.