Skip to content

Commit 6ecd884

Browse files
committed
unnecessary brackets removed
1 parent 168e91c commit 6ecd884

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/TypedArray.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ public function __construct(string $type, array $array = [])
8787
*/
8888
public function offsetSet($index, $newval)
8989
{
90-
if (($this->allowedTypes[$this->type])($newval)) {
90+
if ($this->allowedTypes[$this->type]($newval)) {
9191
parent::offsetSet($index, $newval);
9292

9393
return;

0 commit comments

Comments
 (0)