Jordi Boggiano пре 3 година
родитељ
комит
e289293a7c
2 измењених фајлова са 2 додато и 5 уклоњено
  1. 0 3
      phpstan.neon.dist
  2. 2 2
      src/Monolog/LogRecord.php

+ 0 - 3
phpstan.neon.dist

@@ -35,6 +35,3 @@ parameters:
         - '#::popProcessor\(\) should return callable#'
         - '#Parameter \#1 \$ of callable \(callable\(Monolog\\Handler\\Record\): Monolog\\Handler\\Record\)#'
         - '#is incompatible with native type array.#'
-
-        # can be removed when https://github.com/rollbar/rollbar-php/pull/536 will be merged
-        - '#Rollbar\\RollbarLogger#'

+ 2 - 2
src/Monolog/LogRecord.php

@@ -22,10 +22,10 @@ use ArrayAccess;
  * Do not rely on this interface for other purposes, and do not implement it.
  *
  * @author Jordi Boggiano <j.boggiano@seld.be>
- * @template-implements \ArrayAccess<'message'|'level'|'context'|'level_name'|'channel'|'datetime'|'extra'|'formatted', mixed>
+ * @template-extends \ArrayAccess<'message'|'level'|'context'|'level_name'|'channel'|'datetime'|'extra'|'formatted', mixed>
  * @phpstan-import-type Record from Logger
  */
-interface LogRecord implements \ArrayAccess
+interface LogRecord extends \ArrayAccess
 {
     /**
      * @phpstan-return Record