Skip to content
Permalink
Browse files

Fixed extra method arguments

  • Loading branch information...
ondrejmirtes committed Feb 10, 2017
1 parent b8c60da commit 053c4f37a9c17fc00f3cec9982802c398052b0f7
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/Datasource/EntityTrait.php
@@ -1099,7 +1099,7 @@ public function invalid($field = null, $value = null, $overwrite = false)
public function accessible($property, $set = null)
{
if ($set === null) {
return $this->isAccessible($property, $set);
return $this->isAccessible($property);
}
return $this->setAccess($property, $set);
@@ -1204,7 +1204,7 @@ public function setSource($alias)
public function source($alias = null)
{
if (is_null($alias)) {
return $this->getSource($alias);
return $this->getSource();
}
$this->setSource($alias);

0 comments on commit 053c4f3

Please sign in to comment.
You can’t perform that action at this time.