Run PHP-CS-FIXER to make sure

code is consisted with PSR-1 + PSR-2
This commit is contained in:
eldadfux
2019-09-06 20:04:26 +03:00
parent c9d3448571
commit 35680bbae9
37 changed files with 928 additions and 753 deletions
+7 -3
View File
@@ -23,6 +23,7 @@ class Event
/**
* Event constructor.
*
* @param string $queue
* @param string $class
*/
@@ -34,17 +35,20 @@ class Event
/**
* @param string $key
* @param mixed $value
* @param mixed $value
*
* @return $this
*/
public function setParam($key, $value)
{
$this->params[$key] = $value;
return $this;
}
/**
* @param string $key
*
* @return mixed|null
*/
public function getParam($key)
@@ -53,10 +57,10 @@ class Event
}
/**
* Execute Event
* Execute Event.
*/
public function trigger()
{
Resque::enqueue($this->queue, $this->class, $this->params);
}
}
}