Skip to content

Commit 8b06983

Browse files
committed
nits
Signed-off-by: Jack Cherng <jfcherng@gmail.com>
1 parent 5659dc4 commit 8b06983

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/Diff.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -90,9 +90,7 @@ public function __construct(array $old, array $new, array $options = [])
9090
*/
9191
public function setOldNew(array $old, array $new): self
9292
{
93-
$this->setOld($old)->setNew($new);
94-
95-
return $this;
93+
return $this->setOld($old)->setNew($new);
9694
}
9795

9896
/**

0 commit comments

Comments
 (0)