Skip to content

Commit a25bb1c

Browse files
zerodaherogithub-actions[bot]
authored andcommitted
Fix styling
1 parent c642956 commit a25bb1c

File tree

1 file changed

+26
-26
lines changed

1 file changed

+26
-26
lines changed

src/WorkflowRegistry.php

Lines changed: 26 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -186,32 +186,6 @@ public function addFromArray($name, array $workflowData)
186186
}
187187
}
188188

189-
/**
190-
* Parses events to dispatch data from config
191-
*/
192-
protected function parseEventsToDispatch(array $workflowData)
193-
{
194-
if (array_key_exists('events_to_dispatch', $workflowData)) {
195-
return $workflowData['events_to_dispatch'];
196-
}
197-
198-
// Null dispatches all, [] dispatches none.
199-
return null;
200-
}
201-
202-
/**
203-
* Gets the default registry config
204-
*
205-
* @return array
206-
*/
207-
protected function getDefaultRegistryConfig()
208-
{
209-
return [
210-
'track_loaded' => false,
211-
'ignore_duplicates' => true,
212-
];
213-
}
214-
215189
/**
216190
* Checks if the workflow is already loaded for this supported class
217191
*
@@ -239,6 +213,32 @@ public function isLoaded($workflowName, $supportStrategy)
239213
return false;
240214
}
241215

216+
/**
217+
* Parses events to dispatch data from config
218+
*/
219+
protected function parseEventsToDispatch(array $workflowData)
220+
{
221+
if (array_key_exists('events_to_dispatch', $workflowData)) {
222+
return $workflowData['events_to_dispatch'];
223+
}
224+
225+
// Null dispatches all, [] dispatches none.
226+
return null;
227+
}
228+
229+
/**
230+
* Gets the default registry config
231+
*
232+
* @return array
233+
*/
234+
protected function getDefaultRegistryConfig()
235+
{
236+
return [
237+
'track_loaded' => false,
238+
'ignore_duplicates' => true,
239+
];
240+
}
241+
242242
/**
243243
* Sets the workflow as loaded
244244
*

0 commit comments

Comments
 (0)