It is generally recommended to explicitly declare the visibility for methods.
Adding explicit visibility (private, protected, or public) is generally
recommend to communicate to other developers how, and from where this method
is intended to be used.
Loading history...
17
{
18
$input = 'Scenario:';
19
$expected = new ScenarioNode('', [], [], 'Scenario', 1);
It is generally recommended to explicitly declare the visibility for methods.
Adding explicit visibility (private, protected, or public) is generally
recommend to communicate to other developers how, and from where this method
is intended to be used.
Loading history...
26
{
27
$input = 'Scenario: Scenario title';
28
$expected = new ScenarioNode('Scenario title', [], [], 'Scenario', 1);
Adding explicit visibility (
private
,protected
, orpublic
) is generally recommend to communicate to other developers how, and from where this method is intended to be used.