Skip to content

Commit

Permalink
... 🤦
Browse files Browse the repository at this point in the history
  • Loading branch information
carstingaxion committed May 29, 2024
1 parent fd73538 commit b770973
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions inc/patterns/class-label-store.php
Original file line number Diff line number Diff line change
Expand Up @@ -206,8 +206,8 @@ public static function import_bootstrap_label( string $name, array $props ) : La
public static function import_bootstrap_labels() : array {
return \array_map(

Check failure on line 207 in inc/patterns/class-label-store.php

View workflow job for this annotation

GitHub Actions / call-workflow-build-test-measure / Static Analysis: PHP

Method Figuren_Theater\Label_Printing\Patterns\Label_Store::import_bootstrap_labels() should return array<Figuren_Theater\Label_Printing\Patterns\Label> but returns array<int, void>.
function( array $label ): void {
static::import_bootstrap_label( $label['name'], $label ),
}
static::import_bootstrap_label( $label['name'], $label );

Check failure on line 209 in inc/patterns/class-label-store.php

View workflow job for this annotation

GitHub Actions / call-workflow-build-test-measure / Static Analysis: PHP

Parameter #1 $name of static method Figuren_Theater\Label_Printing\Patterns\Label_Store::import_bootstrap_label() expects string, float|int|string given.
},
static::get_bootstrap_labels()
);
}
Expand Down

0 comments on commit b770973

Please # to comment.