Skip to content

Commit afbcdbe

Browse files
Girgiasnicolas-grekas
authored andcommitted
Fix various bool-type coercions
1 parent ffcbdf0 commit afbcdbe

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Dumper/GraphvizDumper.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ protected function findTransitions(Definition $definition, bool $withMetadata):
141141
/**
142142
* @internal
143143
*/
144-
protected function addPlaces(array $places, float $withMetadata): string
144+
protected function addPlaces(array $places, bool $withMetadata): string
145145
{
146146
$code = '';
147147

@@ -303,7 +303,7 @@ protected function addAttributes(array $attributes): string
303303
*
304304
* @internal
305305
*/
306-
protected function formatLabel(Definition $definition, string $withMetadata, array $options): string
306+
protected function formatLabel(Definition $definition, bool $withMetadata, array $options): string
307307
{
308308
$currentLabel = $options['label'] ?? '';
309309

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