Skip to content

Commit

Permalink
typehint prepareRequest
Browse files Browse the repository at this point in the history
  • Loading branch information
Arty Buldauskas committed Feb 22, 2018
1 parent 6f6ed8e commit 79ce391
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/plugins/BasePlugin.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ class BasePlugin implements Plugin
/**
* {@inheritdoc}
*/
public function prepareRequest(array $jobs, array $originalJobs)
public function prepareRequest(array $jobs, array $originalJobs) : array
{
return $jobs;
}
Expand Down
2 changes: 1 addition & 1 deletion src/plugins/Plugin.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ public function getViewData($name, array $data);
* @param \WF\Hypernova\Job[] $originalJobs
* @return \WF\Hypernova\Job
*/
public function prepareRequest(array $jobs, array $originalJobs);
public function prepareRequest(array $jobs, array $originalJobs) : array;

/**
* @param \WF\Hypernova\Job[] $jobs
Expand Down

0 comments on commit 79ce391

Please sign in to comment.