mirror of
https://github.com/Karaka-Management/phpOMS.git
synced 2026-02-17 17:08:40 +00:00
Automated formatting changes
This commit is contained in:
parent
aa004569f5
commit
89ae5950e4
|
|
@ -14,7 +14,6 @@ declare(strict_types=1);
|
|||
|
||||
namespace phpOMS\DataStorage\Database\Mapper;
|
||||
|
||||
use phpOMS\DataStorage\Database\Exception\InvalidMapperException;
|
||||
use phpOMS\DataStorage\Database\Query\Builder;
|
||||
|
||||
/**
|
||||
|
|
|
|||
|
|
@ -742,7 +742,7 @@ class ReadMapper extends DataMapperAbstract
|
|||
->from($many['table'])
|
||||
->where($many['table'] . '.' . $many['self'], '=', $primaryKey);
|
||||
|
||||
if ($many['mapper']::TABLE !== $many['table']) {
|
||||
if ($many['table'] !== $many['mapper']::TABLE) {
|
||||
$query->leftJoin($many['mapper']::TABLE)
|
||||
->on($many['table'] . '.' . $src, '=', $many['mapper']::TABLE . '.' . $many['mapper']::PRIMARYFIELD);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -277,7 +277,7 @@ class UpdateMapper extends DataMapperAbstract
|
|||
->from($many['table'])
|
||||
->where($many['table'] . '.' . $many['self'], '=', $objId);
|
||||
|
||||
if ($many['mapper']::TABLE !== $many['table']) {
|
||||
if ($many['table'] !== $many['mapper']::TABLE) {
|
||||
$query->leftJoin($many['mapper']::TABLE)
|
||||
->on($many['table'] . '.' . $src, '=', $many['mapper']::TABLE . '.' . $many['mapper']::PRIMARYFIELD);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -895,7 +895,7 @@ class Email implements MessageInterface
|
|||
|
||||
$errorcode = 0;
|
||||
if (\defined('INTL_IDNA_VARIANT_UTS46')) {
|
||||
$punycode = \idn_to_ascii($domain, $errorcode, INTL_IDNA_VARIANT_UTS46);
|
||||
$punycode = \idn_to_ascii($domain, $errorcode, \INTL_IDNA_VARIANT_UTS46);
|
||||
} else {
|
||||
$punycode = \idn_to_ascii($domain, $errorcode);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user