Skip to content

Commit 23d2aa9

Browse files
committed
typo
1 parent 4ce2098 commit 23d2aa9

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/Utils/DateTime.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ public function __toString(): string
130130

131131

132132
/**
133-
* Creates a copy with a modified time.
133+
* You'd better use: (clone $dt)->modify(...)
134134
*/
135135
public function modifyClone(string $modify = ''): static
136136
{

src/Utils/Finder.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -337,7 +337,7 @@ public function getIterator(): \Generator
337337

338338

339339
/**
340-
* @param array<\stdClass{pattern: string, mode: string, recursive: bool}> $searches
340+
* @param array<object{pattern: string, mode: string, recursive: bool}> $searches
341341
* @param string[] $subdirs
342342
* @return \Generator<string, FileInfo>
343343
*/
@@ -427,7 +427,7 @@ private function proveFilters(array $filters, FileInfo $file, array &$cache): bo
427427
}
428428

429429

430-
/** @return array<string, array<\stdClass{pattern: string, mode: string, recursive: bool}>> */
430+
/** @return array<string, array<object{pattern: string, mode: string, recursive: bool}>> */
431431
private function buildPlan(): array
432432
{
433433
$plan = $dirCache = [];

0 commit comments

Comments
 (0)