Skip to content

Commit a370dba

Browse files
Remove useless code
1 parent 432717f commit a370dba

File tree

1 file changed

+4
-7
lines changed

1 file changed

+4
-7
lines changed

Dumper/PlantUmlDumper.php

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -115,23 +115,20 @@ public function dump(Definition $definition, ?Marking $marking = null, array $op
115115
}
116116
}
117117

118-
return $this->startPuml($options).$this->getLines($code).$this->endPuml($options);
118+
return $this->startPuml().$this->getLines($code).$this->endPuml();
119119
}
120120

121121
private function isWorkflowTransitionType(): bool
122122
{
123123
return self::WORKFLOW_TRANSITION === $this->transitionType;
124124
}
125125

126-
private function startPuml(array $options): string
126+
private function startPuml(): string
127127
{
128-
$start = '@startuml'.\PHP_EOL;
129-
$start .= 'allow_mixing'.\PHP_EOL;
130-
131-
return $start;
128+
return '@startuml'.\PHP_EOL.'allow_mixing'.\PHP_EOL;
132129
}
133130

134-
private function endPuml(array $options): string
131+
private function endPuml(): string
135132
{
136133
return \PHP_EOL.'@enduml';
137134
}

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy