Auxiliary compatibility between PHP 5 and PHP 8

v2-beta
Bruno O. Notario 1 year ago
parent 56d0d5687e
commit 7c38d178a0
Signed by: oliveira131
GPG Key ID: 76CAD698D3EA8F58
  1. 79
      system/arrayClass/Aux/LegacyAux.php
  2. 80
      system/arrayClass/Aux/ModernAux.php
  3. 76
      system/arrayClass/caseInsensitiveArray.php
  4. 33
      system/database/databases/object/Aux/ComplementItem.php
  5. 32
      system/database/databases/object/Aux/ComplementItemLegacy.php
  6. 30
      system/database/databases/object/Aux/ComplementResult.php
  7. 31
      system/database/databases/object/Aux/ComplementResultLegacy.php
  8. 37
      system/database/databases/object/item.php
  9. 34
      system/database/databases/object/result.php
  10. 2
      system/magiql/Syntax/Column.php

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

@ -112,7 +112,7 @@ class Column implements QueryPartInterface
*/
public function setAlias($alias)
{
if (0 == \strlen($alias)) {
if (!$alias || 0 == \strlen($alias)) {
$this->alias = null;
return $this;

Loading…
Cancel
Save