mirror of
https://github.com/Karaka-Management/phpOMS.git
synced 2026-02-13 15:18:41 +00:00
fix line-ending
This commit is contained in:
parent
be1cdcf1ec
commit
3c464a1e21
|
|
@ -191,5 +191,5 @@ abstract class DataMapperAbstract
|
||||||
return $value;
|
return $value;
|
||||||
}
|
}
|
||||||
|
|
||||||
abstract public function execute(...$options);
|
abstract public function execute(array ...$options) : mixed;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -36,7 +36,7 @@ class DeleteMapper extends DataMapperAbstract
|
||||||
return $this;
|
return $this;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function execute(...$options) : mixed
|
public function execute(array ...$options) : mixed
|
||||||
{
|
{
|
||||||
switch($this->type) {
|
switch($this->type) {
|
||||||
case MapperType::DELETE:
|
case MapperType::DELETE:
|
||||||
|
|
|
||||||
|
|
@ -78,7 +78,7 @@ class ReadMapper extends DataMapperAbstract
|
||||||
return $this;
|
return $this;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function execute(...$options) : mixed
|
public function execute(array ...$options) : mixed
|
||||||
{
|
{
|
||||||
switch($this->type) {
|
switch($this->type) {
|
||||||
case MapperType::GET:
|
case MapperType::GET:
|
||||||
|
|
|
||||||
|
|
@ -38,7 +38,7 @@ class UpdateMapper extends DataMapperAbstract
|
||||||
return $this;
|
return $this;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function execute(...$options) : mixed
|
public function execute(array ...$options) : mixed
|
||||||
{
|
{
|
||||||
switch($this->type) {
|
switch($this->type) {
|
||||||
case MapperType::UPDATE:
|
case MapperType::UPDATE:
|
||||||
|
|
|
||||||
|
|
@ -36,7 +36,7 @@ class WriteMapper extends DataMapperAbstract
|
||||||
return $this;
|
return $this;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function execute(...$options) : mixed
|
public function execute(array ...$options) : mixed
|
||||||
{
|
{
|
||||||
switch($this->type) {
|
switch($this->type) {
|
||||||
case MapperType::CREATE:
|
case MapperType::CREATE:
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user