Skip to content

Commit

Permalink
Fix styling
Browse files Browse the repository at this point in the history
  • Loading branch information
cappuc authored and github-actions[bot] committed Mar 4, 2024
1 parent 9faf27b commit ef09bcb
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 8 deletions.
5 changes: 0 additions & 5 deletions src/Drop.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,9 @@

use Keepsuit\Liquid\Concerns\ContextAware;
use Keepsuit\Liquid\Contracts\IsContextAware;
use Keepsuit\Liquid\Drops\Cache;
use Keepsuit\Liquid\Drops\Hidden;
use Keepsuit\Liquid\Exceptions\UndefinedDropMethodException;
use Keepsuit\Liquid\Support\DropMetadata;
use Keepsuit\Liquid\Support\Str;
use ReflectionClass;
use ReflectionMethod;
use Traversable;

class Drop implements IsContextAware
{
Expand Down
6 changes: 3 additions & 3 deletions src/Support/DropMetadata.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ final class DropMetadata

public static function init(Drop $drop): DropMetadata
{
if (isset(static::$cache[get_class($drop)])) {
return static::$cache[get_class($drop)];
if (isset(self::$cache[get_class($drop)])) {
return self::$cache[get_class($drop)];
}

$blacklist = array_map(
Expand Down Expand Up @@ -48,7 +48,7 @@ public static function init(Drop $drop): DropMetadata
$publicMethods
)));

return static::$cache[get_class($drop)] = new DropMetadata(
return self::$cache[get_class($drop)] = new DropMetadata(
invokableMethods: $invokableMethods,
cacheableMethods: $cacheableMethods
);
Expand Down

0 comments on commit ef09bcb

Please sign in to comment.