Skip to content

Commit 975a885

Browse files
committed
composer.json.
1 parent 5193fb5 commit 975a885

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

Services/Annotations/SearchAnnotatedClasses.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ class SearchAnnotatedClasses
2828
/**
2929
* SearchAnnotatedClasses constructor.
3030
*
31-
* @param string $documentRoot DOCUMENT_ROOT
31+
* @param string $documentRoot DOCUMENT_ROOT.
3232
* @param array $paths Пути, где искать классы.
3333
*/
3434
public function __construct(

Services/NativeAjax/AbstractWPAjaxController.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ protected function checkTypeRequest(string $message = '', int $statusCode = 400)
5656
}
5757

5858
$requestMethod = $this->request->getMethod();
59-
if (!in_array($requestMethod, $methods, false)) {
59+
if (!in_array($requestMethod, $methods, true)) {
6060
$response = new Response(
6161
$message,
6262
$statusCode

composer.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,8 @@
3838
"symfony/event-dispatcher": "^4.0 || ^5.0",
3939
"symfony/property-access": "^4.0 || ^5.0",
4040
"symfony/expression-language": "^4.0 || ^5.0",
41-
"symfony/serializer": "^4.0 || ^5.0"
41+
"symfony/serializer": "^4.0 || ^5.0",
42+
"illuminate/support": "^5.0 || ^6.0 || ^7.0"
4243
},
4344
"require-dev": {
4445
"proklung/wordpress-test-build": "^1.0"

0 commit comments

Comments
 (0)