Skip to content

Commit 13f904f

Browse files
committed
Remove some unused variables and properties
1 parent 9ead305 commit 13f904f

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

Extension/Core/DataTransformer/DateIntervalToStringTransformer.php

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -23,20 +23,17 @@
2323
class DateIntervalToStringTransformer implements DataTransformerInterface
2424
{
2525
private $format;
26-
private $parseSigned;
2726

2827
/**
2928
* Transforms a \DateInterval instance to a string.
3029
*
3130
* @see \DateInterval::format() for supported formats
3231
*
33-
* @param string $format The date format
34-
* @param bool $parseSigned Whether to parse as a signed interval
32+
* @param string $format The date format
3533
*/
36-
public function __construct($format = 'P%yY%mM%dDT%hH%iM%sS', $parseSigned = false)
34+
public function __construct($format = 'P%yY%mM%dDT%hH%iM%sS')
3735
{
3836
$this->format = $format;
39-
$this->parseSigned = $parseSigned;
4037
}
4138

4239
/**

0 commit comments

Comments
 (0)