Skip to content
Permalink
Browse files

Fix errors spotted by Rusty

  • Loading branch information
Kévin Gomez
Kévin Gomez committed May 10, 2016
1 parent 914a781 commit c91d954e537c1b9ee94384807e420c223da71e38
Showing with 4 additions and 3 deletions.
  1. +1 −1 doc/custom_operators.md
  2. +1 −0 doc/index.md
  3. +2 −2 doc/writing_rules.md
@@ -19,7 +19,7 @@ $executor = new ArrayExecutor([
$executor->registerOperators([
'logged' => function($user) {
return return $user::CONNECTED === $user->getStatus();
return $user::CONNECTED === $user->getStatus();
},
]);
```
@@ -6,6 +6,7 @@ Getting started with RulerZ
The recommended way to install this library is with [Composer](http://getcomposer.org/):

```
# ignore
composer require 'kphoen/rulerz'
```

@@ -34,7 +34,7 @@ use RulerZ\Compiler\Target;
use RulerZ\RulerZ;
// compiler
$compiler = new Compiler::create();
$compiler = Compiler::create();
// RulerZ engine
$rulerz = new RulerZ(
@@ -84,4 +84,4 @@ you want to use. See the "[Custom operators](custom_operators.md)" section.
Now that you can write rules, you can use them to [filter targets](filter.md)
or to [check if a target satisfies them](satisfies.md).

[Return to the index to explore the other possibilities of the library](index.md)
[Return to the index to explore the other possibilities of the library](index.md)

0 comments on commit c91d954

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