mirror of
https://github.com/Karaka-Management/oms-Workflow.git
synced 2026-02-12 12:18:41 +00:00
phpcbf
This commit is contained in:
parent
4299a906f4
commit
3615e7d3a5
|
|
@ -19,7 +19,6 @@ use phpOMS\Module\UpdateAbstract;
|
||||||
use phpOMS\System\File\Directory;
|
use phpOMS\System\File\Directory;
|
||||||
use phpOMS\Module\InfoManager;
|
use phpOMS\Module\InfoManager;
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Navigation class.
|
* Navigation class.
|
||||||
*
|
*
|
||||||
|
|
|
||||||
|
|
@ -28,9 +28,9 @@ use phpOMS\DataStorage\Database\Connection\ConnectionAbstract;
|
||||||
*/
|
*/
|
||||||
class Workflow implements WorkflowInterface
|
class Workflow implements WorkflowInterface
|
||||||
{
|
{
|
||||||
private $id = 0;
|
private $id = 0;
|
||||||
private $state = 0;
|
private $state = 0;
|
||||||
private $con = null;
|
private $con = null;
|
||||||
|
|
||||||
public function __construct(ConnectionAbstract $con)
|
public function __construct(ConnectionAbstract $con)
|
||||||
{
|
{
|
||||||
|
|
@ -47,7 +47,6 @@ class Workflow implements WorkflowInterface
|
||||||
$this->state = $this->runPending($data);
|
$this->state = $this->runPending($data);
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
return $this->state;
|
return $this->state;
|
||||||
|
|
@ -70,4 +69,4 @@ class Workflow implements WorkflowInterface
|
||||||
{
|
{
|
||||||
return $this->state;
|
return $this->state;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user