Skip to content

Commit

Permalink
docs: break long line
Browse files Browse the repository at this point in the history
  • Loading branch information
kenjis committed Mar 5, 2021
1 parent d236c35 commit 92d1da7
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -165,10 +165,14 @@ This patcher allows replacement of constant value.
~~~php
public function test_index()
{
MonkeyPatch::patchConstant('ENVIRONMENT', 'development', Welcome::class . '::index');

MonkeyPatch::patchConstant(
'ENVIRONMENT',
'development',
Welcome::class . '::index'
);

$output = $this->request('GET', 'welcome/index');

$this->assertContains('development', $output);
}
~~~
Expand Down

0 comments on commit 92d1da7

Please sign in to comment.