for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace Bouhnosaure\Dogecoin\Exceptions;
use RuntimeException;
class DogecoindException extends RuntimeException
{
/**
* Construct new dogecoind exception.
*
* @param object $error
* @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($error)
parent::__construct($error['message'], $error['code']);
}
Adding a
@returnannotation 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.