diff --git a/src/main/php/libAllure/.ErrorHandler.php.swo b/src/main/php/libAllure/.ErrorHandler.php.swo new file mode 100644 index 0000000..05f0919 Binary files /dev/null and b/src/main/php/libAllure/.ErrorHandler.php.swo differ diff --git a/src/main/php/libAllure/Database.php b/src/main/php/libAllure/Database.php index 420cdf2..26a3574 100644 --- a/src/main/php/libAllure/Database.php +++ b/src/main/php/libAllure/Database.php @@ -31,7 +31,7 @@ class Database extends \PDO public $queryCount = 0; /** - @throws PDOException if it cannot connect + @throws \PDOException if it cannot connect */ public function __construct($dsn, $username, $password) { diff --git a/src/main/php/libAllure/ErrorHandler.php b/src/main/php/libAllure/ErrorHandler.php index 5ff2316..e1deb72 100644 --- a/src/main/php/libAllure/ErrorHandler.php +++ b/src/main/php/libAllure/ErrorHandler.php @@ -29,10 +29,10 @@ class ErrorHandler /** * Constructs the new class. * - * @param greedy Whether or not this class can be greedy: is allowed to + * @param $greedy Whether or not this class can be greedy: is allowed to * capture all types of errors that it can bind to. */ - public function __construct($greedy = true) + public function __construct(bool $greedy = true) { if ($greedy) { $this->beGreedy(); @@ -63,12 +63,12 @@ protected function clearOutputBuffers() /** * Print the error out. * - * @param trigger What triggored this error. - * @param message The message for the error. - * @param code The code for the error. - * @param file The file that this error came from. - * @param line The line that this error came from. - * @param stacktrace A stacktrace leading up to this error ( should be a + * @param $trigger What triggored this error. + * @param $message The message for the error. + * @param $code The code for the error. + * @param $file The file that this error came from. + * @param $line The line that this error came from. + * @param $stacktrace A stacktrace leading up to this error ( should be a * array). */ protected function render($trigger, $message, $code = null, $file = null, $line = null, $stacktrace = null) diff --git a/src/main/php/libAllure/QueryBuilder.php b/src/main/php/libAllure/QueryBuilder.php index 8063556..67fc78a 100644 --- a/src/main/php/libAllure/QueryBuilder.php +++ b/src/main/php/libAllure/QueryBuilder.php @@ -304,7 +304,7 @@ public function buildGroup() /** * Builds the actual SQL. - * @return Cake asdf + * @return string The SQL string. */ public function build(): string {