mirror of
https://github.com/Karaka-Management/oms-Workflow.git
synced 2026-01-11 14:58:39 +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\Module\InfoManager;
|
||||
|
||||
|
||||
/**
|
||||
* Navigation class.
|
||||
*
|
||||
|
|
|
|||
|
|
@ -28,9 +28,9 @@ use phpOMS\DataStorage\Database\Connection\ConnectionAbstract;
|
|||
*/
|
||||
class Workflow implements WorkflowInterface
|
||||
{
|
||||
private $id = 0;
|
||||
private $id = 0;
|
||||
private $state = 0;
|
||||
private $con = null;
|
||||
private $con = null;
|
||||
|
||||
public function __construct(ConnectionAbstract $con)
|
||||
{
|
||||
|
|
@ -47,7 +47,6 @@ class Workflow implements WorkflowInterface
|
|||
$this->state = $this->runPending($data);
|
||||
break;
|
||||
default:
|
||||
|
||||
}
|
||||
|
||||
return $this->state;
|
||||
|
|
@ -70,4 +69,4 @@ class Workflow implements WorkflowInterface
|
|||
{
|
||||
return $this->state;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user