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

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
6 changes: 3 additions & 3 deletions test/Pattern/CallbackCacheTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,11 @@ class TestCallbackCache

public static function bar()
{
++self::$fooCounter;
++static::$fooCounter;
$args = func_get_args();

echo 'foobar_output('.implode(', ', $args) . ') : ' . self::$fooCounter;
return 'foobar_return('.implode(', ', $args) . ') : ' . self::$fooCounter;
echo 'foobar_output('.implode(', ', $args) . ') : ' . static::$fooCounter;
return 'foobar_return('.implode(', ', $args) . ') : ' . static::$fooCounter;
}

public static function emptyMethod() {}
Expand Down
6 changes: 3 additions & 3 deletions test/Pattern/ClassCacheTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,11 @@ class TestClassCache

public static function bar()
{
++self::$fooCounter;
++static::$fooCounter;
$args = func_get_args();

echo 'foobar_output('.implode(', ', $args) . ') : ' . self::$fooCounter;
return 'foobar_return('.implode(', ', $args) . ') : ' . self::$fooCounter;
echo 'foobar_output('.implode(', ', $args) . ') : ' . static::$fooCounter;
return 'foobar_return('.implode(', ', $args) . ') : ' . static::$fooCounter;
}

public static function emptyMethod() {}
Expand Down
6 changes: 3 additions & 3 deletions test/Pattern/ObjectCacheTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,11 +26,11 @@ class TestObjectCache

public function bar()
{
++self::$fooCounter;
++static::$fooCounter;
$args = func_get_args();

echo 'foobar_output('.implode(', ', $args) . ') : ' . self::$fooCounter;
return 'foobar_return('.implode(', ', $args) . ') : ' . self::$fooCounter;
echo 'foobar_output('.implode(', ', $args) . ') : ' . static::$fooCounter;
return 'foobar_return('.implode(', ', $args) . ') : ' . static::$fooCounter;
}

public function __invoke()
Expand Down

0 comments on commit 0d0d883

Please sign in to comment.