Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit f1ea174

Browse files
committed
remove some packages
1 parent d3d5e27 commit f1ea174

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

62 files changed

+13
-6640
lines changed

‎src/collection/src/Collection.php

Lines changed: 10 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -12,13 +12,13 @@
1212
use RangeException;
1313
use RecursiveArrayIterator;
1414
use stdClass;
15-
use Toolkit\ArrUtil\Arr;
16-
use Toolkit\File\Exception\FileNotFoundException;
17-
use Toolkit\File\File;
18-
use Toolkit\File\Parse\IniParser;
19-
use Toolkit\File\Parse\JsonParser;
20-
use Toolkit\File\Parse\YmlParser;
21-
use Toolkit\ObjUtil\Obj;
15+
use Toolkit\Stdlib\Arr;
16+
use Toolkit\FsUtil\Exception\FileNotFoundException;
17+
use Toolkit\FsUtil\File;
18+
use Toolkit\FsUtil\Parser\IniParser;
19+
use Toolkit\FsUtil\Parser\JsonParser;
20+
use Toolkit\FsUtil\Parser\YmlParser;
21+
use Toolkit\Stdlib\Obj;
2222
use Traversable;
2323
use function in_array;
2424
use function is_array;
@@ -158,7 +158,7 @@ public function has(string $path): bool
158158
return $this->exists($path);
159159
}
160160

161-
public function reset()
161+
public function reset(): Collection
162162
{
163163
$this->data = [];
164164

@@ -167,12 +167,10 @@ public function reset()
167167

168168
/**
169169
* Clear all data.
170-
*
171-
* @return static
172170
*/
173-
public function clear()
171+
public function clear(): void
174172
{
175-
return$this->reset();
173+
$this->reset();
176174
}
177175

178176
/**

‎src/collection/src/CollectionInterface.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,5 +44,5 @@ public function remove($key);
4444
/**
4545
* clear all data
4646
*/
47-
public function clear();
47+
public function clear(): void;
4848
}

‎src/collection/src/LiteCollection.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,7 @@ public function remove($key)
177177
/**
178178
* clear all data
179179
*/
180-
public function clear()
180+
public function clear(): void
181181
{
182182
foreach ($this as $key) {
183183
unset($this[$key]);

‎src/collection/src/SimpleCollection.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -244,7 +244,7 @@ public function remove($key)
244244
/**
245245
* Remove all items from collection
246246
*/
247-
public function clear()
247+
public function clear(): void
248248
{
249249
$this->data = [];
250250
}

‎src/file-parse/.gitignore

Lines changed: 0 additions & 10 deletions
This file was deleted.

‎src/file-parse/LICENSE

Lines changed: 0 additions & 20 deletions
This file was deleted.

‎src/file-parse/README.md

Lines changed: 0 additions & 36 deletions
This file was deleted.

‎src/file-parse/composer.json

Lines changed: 0 additions & 32 deletions
This file was deleted.

‎src/file-parse/phpunit.xml.dist

Lines changed: 0 additions & 23 deletions
This file was deleted.

‎src/file-parse/src/BaseParser.php

Lines changed: 0 additions & 98 deletions
This file was deleted.

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /