Skip to content

Commit

Permalink
Apply cs-fixer changes
Browse files Browse the repository at this point in the history
  • Loading branch information
phil-davis committed Nov 15, 2023
1 parent 18494f5 commit 6f8d36e
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion tests/VObject/ITip/BrokerTester.php
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ public function parse($oldMessage, $newMessage, array $expected = [], string $cu
* @throws NoInstancesException
* @throws InvalidDataException
*/
public function process(string $input, ?string $old = null, ?string $expected = null): void
public function process(string $input, string $old = null, string $expected = null): void
{
$version = Version::VERSION;

Expand Down
12 changes: 6 additions & 6 deletions tests/VObject/TestHelper.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ class TestHelper
* @throws InvalidDataException
* @throws \Exception
*/
public static function createDateCreated(VCalendar $vcal, string $dateTime, ?string $timezone = null): DateTime
public static function createDateCreated(VCalendar $vcal, string $dateTime, string $timezone = null): DateTime
{
return self::createDt($vcal, 'CREATED', $dateTime, $timezone);
}
Expand All @@ -32,7 +32,7 @@ public static function createDateCreated(VCalendar $vcal, string $dateTime, ?str
* @throws InvalidDataException
* @throws \Exception
*/
public static function createDateCompleted(VCalendar $vcal, string $dateTime, ?string $timezone = null): DateTime
public static function createDateCompleted(VCalendar $vcal, string $dateTime, string $timezone = null): DateTime
{
return self::createDt($vcal, 'COMPLETED', $dateTime, $timezone);
}
Expand All @@ -45,7 +45,7 @@ public static function createDateCompleted(VCalendar $vcal, string $dateTime, ?s
* @throws InvalidDataException
* @throws \Exception
*/
public static function createDateDue(VCalendar $vcal, string $dateTime, ?string $timezone = null): DateTime
public static function createDateDue(VCalendar $vcal, string $dateTime, string $timezone = null): DateTime
{
return self::createDt($vcal, 'DUE', $dateTime, $timezone);
}
Expand All @@ -58,7 +58,7 @@ public static function createDateDue(VCalendar $vcal, string $dateTime, ?string
* @throws InvalidDataException
* @throws \Exception
*/
public static function createDtStart(VCalendar $vcal, string $dateTime, ?string $timezone = null): DateTime
public static function createDtStart(VCalendar $vcal, string $dateTime, string $timezone = null): DateTime
{
return self::createDt($vcal, 'DTSTART', $dateTime, $timezone);
}
Expand All @@ -71,7 +71,7 @@ public static function createDtStart(VCalendar $vcal, string $dateTime, ?string
* @throws InvalidDataException
* @throws \Exception
*/
public static function createDtEnd(VCalendar $vcal, string $dateTime, ?string $timezone = null): DateTime
public static function createDtEnd(VCalendar $vcal, string $dateTime, string $timezone = null): DateTime
{
return self::createDt($vcal, 'DTEND', $dateTime, $timezone);
}
Expand All @@ -84,7 +84,7 @@ public static function createDtEnd(VCalendar $vcal, string $dateTime, ?string $t
* @throws InvalidDataException
* @throws \Exception
*/
public static function createDt(VCalendar $vcal, string $propertyName, string $dateTime, ?string $timezone = null): DateTime
public static function createDt(VCalendar $vcal, string $propertyName, string $dateTime, string $timezone = null): DateTime
{
/** @var DateTime<mixed, mixed> $property */
$property = $vcal->createProperty($propertyName);
Expand Down

0 comments on commit 6f8d36e

Please sign in to comment.