We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 43d1eae commit 7d9853fCopy full SHA for 7d9853f
rules-tests/TypeDeclarationDocblocks/Rector/ClassMethod/DocblockReturnArrayFromDirectArrayInstanceRector/Fixture/override_bare_array.php.inc
@@ -0,0 +1,33 @@
1
+<?php
2
+
3
+namespace Rector\Tests\TypeDeclarationDocblocks\Rector\ClassMethod\DocblockReturnArrayFromDirectArrayInstanceRector\Fixture;
4
5
+/**
6
+ * @return array
7
+ */
8
+function overrideBareArray()
9
+{
10
+ return [
11
+ 'first' => [true],
12
+ 'second' => [false],
13
+ ];
14
+}
15
16
+?>
17
+-----
18
19
20
21
22
23
+ * @return array<string, bool[]>
24
25
26
27
28
29
30
31
32
33
0 commit comments