for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace ElfSundae\Laravel\Api\Exceptions;
class ActionFailureException extends ApiResponseException
{
/**
* Create a new exception instance.
*
* @param mixed $data
* @param int $code
* @param array $headers
* @param int $options
* @return void
@return
Adding a @return annotation to a constructor is not recommended, since a constructor does not have a meaningful return value.
Please refer to the PHP core documentation on constructors.
*/
public function __construct($data = 'Action Failure', $code = 470, $headers = [], $options = 0)
parent::__construct($data, $code, $headers, $options);
}
Adding a
@return
annotation to a constructor is not recommended, since a constructor does not have a meaningful return value.Please refer to the PHP core documentation on constructors.