mirror of
https://github.com/standardebooks/web.git
synced 2025-07-13 01:52:02 -04:00
Move array definition to the function that uses it
This commit is contained in:
parent
c8d5dfb11f
commit
d3b7f5015a
1 changed files with 1 additions and 2 deletions
|
@ -4,9 +4,8 @@ require_once('/standardebooks.org/web/lib/Core.php');
|
|||
|
||||
use function Safe\getopt;
|
||||
|
||||
$ignoredProperites = ['Created', 'Updated']; // Ebooks from the filesystem don't have these DB properties set.
|
||||
|
||||
function findObjectDifferences($fs, $db): array{
|
||||
static $ignoredProperites = ['Created', 'Updated']; // Ebooks from the filesystem don't have these DB properties set.
|
||||
$diffs = [];
|
||||
$fsReflection = new ReflectionClass($fs);
|
||||
$dbReflection = new ReflectionClass($db);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue