Skip to content
This repository was archived by the owner on Jan 21, 2020. It is now read-only.

Commit ea6c105

Browse files
committed
Removed redundant brackets
1 parent 1b9ce90 commit ea6c105

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ZendViewRenderer.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ public function __construct(RendererInterface $renderer = null, $layout = null)
121121
*/
122122
public function render($name, $params = [])
123123
{
124-
$viewModel = ($params instanceof ModelInterface)
124+
$viewModel = $params instanceof ModelInterface
125125
? $this->mergeViewModel($name, $params)
126126
: $this->createModel($name, $params);
127127

0 commit comments

Comments
 (0)