projects
/
yaffs-website
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Updated to Drupal 8.5. Core Media not yet in use.
[yaffs-website]
/
vendor
/
nikic
/
php-parser
/
lib
/
PhpParser
/
ErrorHandler
/
Collecting.php
diff --git
a/vendor/nikic/php-parser/lib/PhpParser/ErrorHandler/Collecting.php
b/vendor/nikic/php-parser/lib/PhpParser/ErrorHandler/Collecting.php
index 99290f0466ba974fed0968cac1007deafe94a88e..784b61b14368d1ba55638fe801347959b9ac39ed 100644
(file)
--- a/
vendor/nikic/php-parser/lib/PhpParser/ErrorHandler/Collecting.php
+++ b/
vendor/nikic/php-parser/lib/PhpParser/ErrorHandler/Collecting.php
@@
-1,4
+1,4
@@
-<?php
+<?php
declare(strict_types=1);
namespace PhpParser\ErrorHandler;
namespace PhpParser\ErrorHandler;
@@
-24,7
+24,7
@@
class Collecting implements ErrorHandler
*
* @return Error[]
*/
*
* @return Error[]
*/
- public function getErrors() {
+ public function getErrors()
: array
{
return $this->errors;
}
return $this->errors;
}
@@
-33,7
+33,7
@@
class Collecting implements ErrorHandler
*
* @return bool
*/
*
* @return bool
*/
- public function hasErrors() {
+ public function hasErrors()
: bool
{
return !empty($this->errors);
}
return !empty($this->errors);
}
@@
-43,4
+43,4
@@
class Collecting implements ErrorHandler
public function clearErrors() {
$this->errors = [];
}
public function clearErrors() {
$this->errors = [];
}
-}
\ No newline at end of file
+}