File tree Expand file tree Collapse file tree 3 files changed +4
-3
lines changed Expand file tree Collapse file tree 3 files changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ $executor = new ArrayExecutor([
1919
2020$executor->registerOperators([
2121 'logged' => function($user) {
22- return return $user::CONNECTED === $user->getStatus();
22+ return $user::CONNECTED === $user->getStatus();
2323 },
2424]);
2525```
Original file line number Diff line number Diff line change @@ -6,6 +6,7 @@ Getting started with RulerZ
66The recommended way to install this library is with [ Composer] ( http://getcomposer.org/ ) :
77
88```
9+ # ignore
910composer require 'kphoen/rulerz'
1011```
1112
Original file line number Diff line number Diff line change @@ -34,7 +34,7 @@ use RulerZ\Compiler\Target;
3434use RulerZ\RulerZ;
3535
3636// compiler
37- $compiler = new Compiler::create();
37+ $compiler = Compiler::create();
3838
3939// RulerZ engine
4040$rulerz = new RulerZ(
@@ -84,4 +84,4 @@ you want to use. See the "[Custom operators](custom_operators.md)" section.
8484Now that you can write rules, you can use them to [ filter targets] ( filter.md )
8585or to [ check if a target satisfies them] ( satisfies.md ) .
8686
87- [ Return to the index to explore the other possibilities of the library] ( index.md )
87+ [ Return to the index to explore the other possibilities of the library] ( index.md )
You can’t perform that action at this time.
0 commit comments