We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d0849a1 commit 39c0d87Copy full SHA for 39c0d87
1 file changed
src/Components/ScriptServiceRequest.php
@@ -10,22 +10,14 @@
10
* Class ScriptServiceRequest
11
*
12
*/
13
-class ScriptServiceRequest implements ServiceRequestInterface
+class ScriptServiceRequest extends InternalServiceRequest implements ServiceRequestInterface
14
{
15
- use InternalServiceRequest;
+ protected $requestorType = ServiceRequestorTypes::SCRIPT;
16
17
public function __construct($method = Verbs::GET, $parameters = [], $headers = [])
18
19
$this->setMethod($method);
20
$this->setParameters($parameters);
21
$this->setHeaders($headers);
22
}
23
-
24
- /**
25
- * {@inheritdoc}
26
- */
27
- public function getRequestorType()
28
- {
29
- return ServiceRequestorTypes::SCRIPT;
30
- }
31
0 commit comments