Skip to content

Commit 432717f

Browse files
Remove unused code and unnecessary else branches
1 parent f83796e commit 432717f

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

DataCollector/WorkflowDataCollector.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ public function getCallsCount(): int
9090

9191
protected function getCasters(): array
9292
{
93-
$casters = [
93+
return [
9494
...parent::getCasters(),
9595
TransitionBlocker::class => function ($v, array $a, Stub $s, $isNested) {
9696
unset(
@@ -108,8 +108,6 @@ protected function getCasters(): array
108108
return $a;
109109
},
110110
];
111-
112-
return $casters;
113111
}
114112

115113
public function hash(string $string): string

0 commit comments

Comments
 (0)