mirror of
https://github.com/Karaka-Management/phpOMS.git
synced 2026-02-14 23:48:40 +00:00
inspection fixes
This commit is contained in:
parent
4bd0a0f1b3
commit
92374d311f
|
|
@ -48,8 +48,7 @@ class SchemaMapper
|
||||||
$tNames = $builder->selectTables()->execute();
|
$tNames = $builder->selectTables()->execute();
|
||||||
|
|
||||||
$tables = [];
|
$tables = [];
|
||||||
foreach ($tNames as $name)
|
foreach ($tNames as $name) {
|
||||||
{
|
|
||||||
$tables[] = $this->getTable($name);
|
$tables[] = $this->getTable($name);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -69,8 +68,7 @@ class SchemaMapper
|
||||||
$tNames = $builder->selectFields()->execute();
|
$tNames = $builder->selectFields()->execute();
|
||||||
|
|
||||||
$fields = [];
|
$fields = [];
|
||||||
foreach ($tNames as $name)
|
foreach ($tNames as $name) {
|
||||||
{
|
|
||||||
$fields[] = $this->getField($name);
|
$fields[] = $this->getField($name);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -83,4 +81,4 @@ class SchemaMapper
|
||||||
|
|
||||||
return $field;
|
return $field;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -49,9 +49,10 @@ class Pop3 extends EmailAbstract
|
||||||
*
|
*
|
||||||
* @since 1.0.0
|
* @since 1.0.0
|
||||||
*/
|
*/
|
||||||
public function connect(string $user = '', string $pass = '') : void
|
public function connect(string $user = '', string $pass = '') : bool
|
||||||
{
|
{
|
||||||
$this->mailbox = '{' . $this->host . ':' . $this->port . '/pop3}';
|
$this->mailbox = '{' . $this->host . ':' . $this->port . '/pop3}';
|
||||||
parent::connect();
|
|
||||||
|
return parent::connect();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user