Skip to content

Commit

Permalink
Merge pull request #9 from preprocess/feature/update-plugin
Browse files Browse the repository at this point in the history
Update plugin
  • Loading branch information
assertchris authored Oct 8, 2018
2 parents 568005f + 7b950b4 commit 1723028
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"name": "pre/class-accessors",
"license": "MIT",
"require": {
"pre/plugin": "^0.11.0"
"pre/plugin": "^0.11.3"
},
"autoload": {
"files": [
Expand Down
4 changes: 2 additions & 2 deletions tests/specs/accessors.spec
Original file line number Diff line number Diff line change
Expand Up @@ -190,14 +190,14 @@ class Fixture

public function withImmutableSimple($value)
{
$clone = clone($this);
$clone = clone $this;
$clone->immutableSimple = $value;
return $clone;
}

public function withoutImmutableSimple()
{
$clone = clone($this);
$clone = clone $this;
unset($clone->immutableSimple);
return $clone;
}
Expand Down
6 changes: 3 additions & 3 deletions tests/specs/fallbacks.spec
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ class Fixture

public function __get($property)
{
if ($result = $this->handleGetClassAccessors($property)) {
if (($result = $this->handleGetClassAccessors($property))) {
return $result;
}

Expand All @@ -71,7 +71,7 @@ class Fixture

public function __set($property, $value)
{
if ($result = $this->handleSetClassAccessors($property, $value)) {
if (($result = $this->handleSetClassAccessors($property, $value))) {
return $result;
}

Expand All @@ -87,7 +87,7 @@ class Fixture

public function __unset($property)
{
if ($result = $this->handleUnsetClassAccessors($property)) {
if (($result = $this->handleUnsetClassAccessors($property))) {
return $result;
}

Expand Down

0 comments on commit 1723028

Please sign in to comment.