fix line indenting

This commit is contained in:
Uwe Steinmann 2021-10-02 07:34:44 +02:00
parent b5ef570ea5
commit cd08883c55

View File

@ -150,8 +150,13 @@ class SeedDMS_Core_Workflow { /* {{{ */
return $this->_transitions;
} /* }}} */
/**
* @return array
/**
* Get all states this workflow at some point may reach
*
* It basically iterates through all transistions and makes a unique
* list of the start and end state.
*
* @return array list of states
*/
function getStates() { /* {{{ */
/** @noinspection PhpUnusedLocalVariableInspection */
@ -161,7 +166,7 @@ class SeedDMS_Core_Workflow { /* {{{ */
$this->getTransitions();
$states = array();
foreach($this->_transitions as $transition) {
foreach($this->_transitions as $transition) {
if(!isset($states[$transition->getState()->getID()]))
$states[$transition->getState()->getID()] = $transition->getState();
if(!isset($states[$transition->getNextState()->getID()]))