Fix PHP DocBlocks
This commit is contained in:
@@ -30,7 +30,7 @@ class ComponentController extends DingoController {
|
|||||||
*
|
*
|
||||||
* @param int $id
|
* @param int $id
|
||||||
*
|
*
|
||||||
* @return Component
|
* @return \Component
|
||||||
*/
|
*/
|
||||||
public function getComponent($id) {
|
public function getComponent($id) {
|
||||||
return $this->component->findOrFail($id);
|
return $this->component->findOrFail($id);
|
||||||
@@ -43,7 +43,7 @@ class ComponentController extends DingoController {
|
|||||||
/**
|
/**
|
||||||
* Create a new component
|
* Create a new component
|
||||||
*
|
*
|
||||||
* @return Component
|
* @return \Component
|
||||||
*/
|
*/
|
||||||
public function postComponents() {
|
public function postComponents() {
|
||||||
return $this->component->create($this->auth->user()->id, Input::all());
|
return $this->component->create($this->auth->user()->id, Input::all());
|
||||||
|
|||||||
@@ -11,6 +11,7 @@
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Returns all responses for a WebHook.
|
* Returns all responses for a WebHook.
|
||||||
|
*
|
||||||
* @return Illuminate\Database\Eloquent\Builder
|
* @return Illuminate\Database\Eloquent\Builder
|
||||||
*/
|
*/
|
||||||
public function response() {
|
public function response() {
|
||||||
@@ -19,6 +20,7 @@
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Returns all active hooks.
|
* Returns all active hooks.
|
||||||
|
*
|
||||||
* @param Illuminate\Database\Eloquent\Builder $query
|
* @param Illuminate\Database\Eloquent\Builder $query
|
||||||
* @return Illuminate\Database\Eloquent\Builder
|
* @return Illuminate\Database\Eloquent\Builder
|
||||||
*/
|
*/
|
||||||
@@ -28,6 +30,7 @@
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Setups a Ping event that is fired upon a web hook.
|
* Setups a Ping event that is fired upon a web hook.
|
||||||
|
*
|
||||||
* @return array result of the ping
|
* @return array result of the ping
|
||||||
*/
|
*/
|
||||||
public function ping() {
|
public function ping() {
|
||||||
@@ -36,6 +39,7 @@
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Fires the actual web hook event.
|
* Fires the actual web hook event.
|
||||||
|
*
|
||||||
* @param string $eventType the event to send X-Cachet-Event
|
* @param string $eventType the event to send X-Cachet-Event
|
||||||
* @param mixed $data Data to send to the Web Hook
|
* @param mixed $data Data to send to the Web Hook
|
||||||
* @return object
|
* @return object
|
||||||
@@ -75,6 +79,8 @@
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Returns a human readable request type name.
|
* Returns a human readable request type name.
|
||||||
|
*
|
||||||
|
* @throws Exception
|
||||||
* @return string HEAD, GET, POST, DELETE, PATCH, PUT etc
|
* @return string HEAD, GET, POST, DELETE, PATCH, PUT etc
|
||||||
*/
|
*/
|
||||||
public function getRequestMethodAttribute() {
|
public function getRequestMethodAttribute() {
|
||||||
|
|||||||
Reference in New Issue
Block a user