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

Commit

Permalink
Merge branch 'pr/42' into incoming
Browse files Browse the repository at this point in the history
  • Loading branch information
Hywan committed Jan 15, 2015
2 parents 38d59f8 + caeee7d commit 8c100b5
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions Visitor/Asserter.php
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ public function visit ( Visitor\Element $element, &$handle = null, $eldnah = nul
* @param mixed $eldnah Handle (not reference).
* @return mixed
*/
public function visitModel ( Visitor\Element $element, &$handle = null, $eldnah = null ) {
public function visitModel ( Ruler\Model $element, &$handle = null, $eldnah = null ) {

return (bool) $element->getExpression()->accept($this, $handle, $eldnah);
}
Expand All @@ -149,7 +149,7 @@ public function visitModel ( Visitor\Element $element, &$handle = null, $eldnah
* @param mixed $eldnah Handle (not reference).
* @return mixed
*/
protected function visitOperator ( Visitor\Element $element, &$handle = null, $eldnah = null ) {
protected function visitOperator ( Ruler\Model\Operator $element, &$handle = null, $eldnah = null ) {

$name = $element->getName();
$arguments = [];
Expand All @@ -173,7 +173,7 @@ protected function visitOperator ( Visitor\Element $element, &$handle = null, $e
* @param mixed $eldnah Handle (not reference).
* @return mixed
*/
protected function visitScalar ( Visitor\Element $element, &$handle = null, $eldnah = null ) {
protected function visitScalar ( Ruler\Model\Bag\Scalar $element, &$handle = null, $eldnah = null ) {

return $element->getValue();
}
Expand All @@ -187,7 +187,7 @@ protected function visitScalar ( Visitor\Element $element, &$handle = null, $eld
* @param mixed $eldnah Handle (not reference).
* @return array
*/
protected function visitArray ( Visitor\Element $element, &$handle = null, $eldnah = null ) {
protected function visitArray ( Ruler\Model\Bag\RulerArray $element, &$handle = null, $eldnah = null ) {

$out = [];

Expand All @@ -206,7 +206,7 @@ protected function visitArray ( Visitor\Element $element, &$handle = null, $eldn
* @param mixed $eldnah Handle (not reference).
* @return mixed
*/
protected function visitContext ( Visitor\Element $element, &$handle = null, $eldnah = null ) {
protected function visitContext ( Ruler\Model\Bag\Context $element, &$handle = null, $eldnah = null ) {

$context = $this->getContext();

Expand Down

0 comments on commit 8c100b5

Please sign in to comment.