Skip to content

Commit

Permalink
fix README smaple code phpdoc
Browse files Browse the repository at this point in the history
  • Loading branch information
koriym committed Aug 14, 2014
1 parent 4c0469a commit ac85622
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
6 changes: 3 additions & 3 deletions README.ja.md
Original file line number Diff line number Diff line change
Expand Up @@ -146,9 +146,9 @@ class MyMatcher extends AbstractMatcher
/**
* Return isContain
*
* @param $name class or method name
* @param $target \Ray\Aop\AbstractMatcher::TARGET_CLASS | \Ray\Aop\AbstractMatcher::Target_METHOD
* @param $contain
* @param mixed $name class name string or method reflection
* @param bool $target \Ray\Aop\AbstractMatcher::TARGET_CLASS | \Ray\Aop\AbstractMatcher::Target_METHOD
* @param string $contain
*
* @return bool
*/
Expand Down
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ $pointcut = new Pointcut(
);
$bind->bind('Ray\Aop\Sample\AnnotationRealBillingService', [$pointcut]);

$compiler = require dirname(__DIR__) . '/scripts/instance.php';
$compiler = new Compiler(sys_get_temp_dir());
$billing = $compiler->newInstance('RealBillingService', [], $bind);
try {
echo $billing->chargeOrder();
Expand Down Expand Up @@ -112,7 +112,7 @@ Explicit method name match
$bind = new Bind;
$bind->bindInterceptors('chargeOrder', [new WeekendBlocker]);

$compiler = require dirname(__DIR__) . '/scripts/instance.php';
$compiler = new Compiler(sys_get_temp_dir());
$billing = $compiler->newInstance('RealBillingService', [], $bind);
try {
echo $billing->chargeOrder();
Expand Down Expand Up @@ -150,9 +150,9 @@ class MyMatcher extends AbstractMatcher
/**
* Return isContains
*
* @param $name class or method name
* @param $target \Ray\Aop\AbstractMatcher::TARGET_CLASS | \Ray\Aop\AbstractMatcher::Target_METHOD
* @param $contain
* @param mixed $name class name string or method reflection
* @param boll $target \Ray\Aop\AbstractMatcher::TARGET_CLASS | \Ray\Aop\AbstractMatcher::Target_METHOD
* @param string $contain
*
* @return bool
*/
Expand Down

0 comments on commit ac85622

Please sign in to comment.