Skip to content

Commit 4f5ad02

Browse files
committed
fixes
1 parent 38ab373 commit 4f5ad02

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

Resources/config/native.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ services:
1313
public: false
1414
class: Symfony\Component\Routing\RouteCollection
1515
factory: ['@routing.loader', 'load']
16-
arguments: ['%kernel.project_dir%/%yaml.native.routes.file%']
16+
arguments: ['%yaml.native.routes.file%']
1717

1818
wp_ajax.initializer:
1919
class: Prokl\WpSymfonyRouterBundle\Services\NativeAjax\WpAjaxInitializer

Services/NativeAjax/WpAjaxInitializer.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,9 @@ private function init() : void
6363
}
6464

6565
/**
66-
* @param array|string|object $controller
66+
* Распарсить контроллер.
67+
*
68+
* @param array|string|object $controller Данные из конфигурационного файла.
6769
*
6870
* @return array|false|object|string|string[]|null
6971
* @throws RuntimeException Когда не получилось распарсить контроллер.

0 commit comments

Comments
 (0)