Skip to content

Commit

Permalink
Merge pull request #61 from laminas/renovate/lock-file-maintenance
Browse files Browse the repository at this point in the history
Lock file maintenance, improved type inference around `ProfilerEvent`
  • Loading branch information
Ocramius authored Dec 15, 2022
2 parents 613563e + 8e55de5 commit 3438624
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 21 deletions.
34 changes: 17 additions & 17 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 0 additions & 4 deletions psalm-baseline.xml
Original file line number Diff line number Diff line change
Expand Up @@ -778,10 +778,6 @@
<code>$this-&gt;getParam('profiler')</code>
<code>$this-&gt;getParam('report')</code>
</MixedReturnStatement>
<PropertyNotSetInConstructor occurrences="2">
<code>ProfilerEvent</code>
<code>ProfilerEvent</code>
</PropertyNotSetInConstructor>
</file>
<file src="src/Report.php">
<MissingConstructor occurrences="6">
Expand Down
1 change: 1 addition & 0 deletions src/ProfilerEvent.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
use Laminas\EventManager\Event;
use Laminas\Mvc\ApplicationInterface;

/** @template-extends Event<null, ApplicationInterface|Profiler|ReportInterface> */
class ProfilerEvent extends Event
{
/**
Expand Down

0 comments on commit 3438624

Please sign in to comment.