File tree Expand file tree Collapse file tree 3 files changed +21
-2
lines changed
Expand file tree Collapse file tree 3 files changed +21
-2
lines changed Original file line number Diff line number Diff line change 3333 "Tests\\ " : " tests/"
3434 }
3535 },
36+
37+ "scripts" : {
38+ "php-version" : [
39+ " @php -v"
40+ ],
41+ "pest" : [
42+ " pest"
43+ ],
44+ "test" : [
45+ " @php-version" ,
46+ " @pest"
47+ ],
48+ "lint" : [
49+ " @php-version" ,
50+ " pint --parallel -v --test"
51+ ],
52+ "fix" : [
53+ " pint --parallel --repair"
54+ ]
55+ },
3656 "config" : {
3757 "allow-plugins" : {
3858 "pestphp/pest-plugin" : true
Original file line number Diff line number Diff line change @@ -132,7 +132,6 @@ public function offsetUnset($offset): void
132132 * Gets a node at the given offset, or null.
133133 *
134134 * @param mixed $offset
135- * @return mixed
136135 */
137136 public function offsetGet ($ offset ): mixed
138137 {
Original file line number Diff line number Diff line change @@ -100,7 +100,7 @@ public function name(): string
100100 /**
101101 * Sets the name of this tag.
102102 */
103- public function setName (string $ name ): Tag
103+ public function setName (string $ name ): self
104104 {
105105 $ this ->name = $ name ;
106106
You can’t perform that action at this time.
0 commit comments