Skip to content

Commit

Permalink
Merge pull request #109 from KumbiaPHP/dev
Browse files Browse the repository at this point in the history
v0.5.6
  • Loading branch information
joanhey committed Jun 23, 2021
2 parents 03f057c + 29cfa09 commit c7291d5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion BaseRecord.php
Expand Up @@ -29,7 +29,7 @@
abstract class BaseRecord
{

public const VERSION = '0.5.5';
public const VERSION = '0.5.6';

/**
* Database por defecto usa default.
Expand Down
2 changes: 1 addition & 1 deletion Metadata/Metadata.php
Expand Up @@ -97,7 +97,7 @@ private static function getMetadata(string $database, string $table, string $sch
{
$key = "$database.$table.$schema";
//TODO añadir cache propia
if (\PRODUCTION && ! (self::$instances[$key] = \Cache::driver()->get($key, 'ActiveRecord.Metadata'))) {
if (\PRODUCTION && self::$instances[$key] = \Cache::driver()->get($key, 'ActiveRecord.Metadata')) {
return self::$instances[$key];
}

Expand Down

0 comments on commit c7291d5

Please sign in to comment.