Commit e1f3ee92 authored by Anton Smirnov's avatar Anton Smirnov
Browse files

No methods on array

parent 4626e289
Loading
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -26,9 +26,9 @@ Example::

    $parser = new Parser();

    $rpn = $parser->parse('x + 3 * y')->operations; // rpn is x 3 y * +
    $rpn = $parser->parse('x + 3 * y'); // rpn is x 3 y * +

    $rpn == [
    $rpn->operations == [
        new Variable('x'),
        new Number(3),
        new Variable('y'),