Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/think/cache/Driver.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<?php

Check warning on line 1 in src/think/cache/Driver.php

View workflow job for this annotation

GitHub Actions / php-cs-fixer

Found violation(s) of type: phpdoc_types_order

Check warning on line 1 in src/think/cache/Driver.php

View workflow job for this annotation

GitHub Actions / php-cs-fixer

Found violation(s) of type: ordered_types

Check warning on line 1 in src/think/cache/Driver.php

View workflow job for this annotation

GitHub Actions / php-cs-fixer

Found violation(s) of type: multiline_whitespace_before_semicolons

Check warning on line 1 in src/think/cache/Driver.php

View workflow job for this annotation

GitHub Actions / php-cs-fixer

Found violation(s) of type: blank_line_after_opening_tag

Check warning on line 1 in src/think/cache/Driver.php

View workflow job for this annotation

GitHub Actions / php-cs-fixer

Found violation(s) of type: no_superfluous_phpdoc_tags

Check warning on line 1 in src/think/cache/Driver.php

View workflow job for this annotation

GitHub Actions / php-cs-fixer

Found violation(s) of type: fully_qualified_strict_types

Check warning on line 1 in src/think/cache/Driver.php

View workflow job for this annotation

GitHub Actions / php-cs-fixer

Found violation(s) of type: single_quote

Check warning on line 1 in src/think/cache/Driver.php

View workflow job for this annotation

GitHub Actions / php-cs-fixer

Found violation(s) of type: phpdoc_no_access

Check warning on line 1 in src/think/cache/Driver.php

View workflow job for this annotation

GitHub Actions / php-cs-fixer

Found violation(s) of type: new_with_parentheses

Check warning on line 1 in src/think/cache/Driver.php

View workflow job for this annotation

GitHub Actions / php-cs-fixer

Found violation(s) of type: no_useless_else
// +----------------------------------------------------------------------
// | ThinkPHP [ WE CAN DO IT JUST THINK ]
// +----------------------------------------------------------------------
Expand Down Expand Up @@ -117,7 +117,7 @@
$item = $this->get($name, []);

if (!is_array($item)) {
throw new InvalidArgumentException('only array cache can be push');
$item = [];
}

$item[] = $value;
Expand Down
Loading