File tree Expand file tree Collapse file tree 1 file changed +13
-1
lines changed Expand file tree Collapse file tree 1 file changed +13
-1
lines changed Original file line number Diff line number Diff line change @@ -53,6 +53,8 @@ class ResourceQuery extends FormRequest implements QueryParameters
53
53
];
54
54
55
55
/**
56
+ * The include paths to use if the client provides none.
57
+ *
56
58
* @var string[]|null
57
59
*/
58
60
protected ?array $ defaultIncludePaths = null ;
@@ -154,7 +156,7 @@ public function includePaths(): ?IncludePaths
154
156
return IncludePaths::fromString ($ data ['include ' ] ?: '' );
155
157
}
156
158
157
- return IncludePaths::nullable ($ this ->defaultIncludePaths );
159
+ return IncludePaths::nullable ($ this ->defaultIncludePaths () );
158
160
}
159
161
160
162
/**
@@ -227,6 +229,16 @@ public function unrecognisedParameters(): array
227
229
])->all ();
228
230
}
229
231
232
+ /**
233
+ * Get the default include paths to use if the client has provided none.
234
+ *
235
+ * @return string[]|null
236
+ */
237
+ protected function defaultIncludePaths (): ?array
238
+ {
239
+ return $ this ->defaultIncludePaths ;
240
+ }
241
+
230
242
/**
231
243
* @return void
232
244
*/
You can’t perform that action at this time.
0 commit comments