Changeset 63936 for trunk/tests/phpstan/GlobalDocBlockVisitor.php
- Timestamp:
- 09/25/2026 03:31:07 PM (5 days ago)
- File:
-
- 1 edited
-
trunk/tests/phpstan/GlobalDocBlockVisitor.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpstan/GlobalDocBlockVisitor.php
r62642 r63936 166 166 foreach ( $matches as $match ) { 167 167 $type = preg_replace( '/\s+/', '', $match['type'] ); 168 assert( is_string( $type ) && '' !== $type );168 assert( is_string( $type ) && '' !== $type, 'Collapsing whitespace in a non-empty type must yield a non-empty string.' ); 169 169 $map[ $match['variable'] ] = $type; 170 170 }
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)