Skip to content

Commit fe09415

Browse files
huangdijiaCopilot
andcommitted
Update PHPStan baseline and add doc improvements
Expanded the phpstan-baseline.neon to cover new type and PHPDoc issues, improving static analysis coverage. Added a return type annotation to DatabaseNotification::newCollection and suppressed a PHPStan warning in RefreshToken::getAccessToken for better code clarity. Co-Authored-By: Deeka Wong <8337659+huangdijia@users.noreply.github.com> Co-Authored-By: Copilot <198982749+Copilot@users.noreply.github.com>
1 parent 0c8029c commit fe09415

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/DatabaseNotification.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -111,6 +111,7 @@ public function scopeUnread(Builder $query)
111111

112112
/**
113113
* Create a new database notification collection instance.
114+
* @return \Hyperf\Database\Model\Collection
114115
*/
115116
public function newCollection(array $models = [])
116117
{

0 commit comments

Comments
 (0)