@@ -52,7 +52,7 @@ |
||
52 | 52 | /** |
53 | 53 | * Get handler with required custom field types registered. |
54 | 54 | * |
55 | - * @return Handler |
|
55 | + * @return \eZ\Publish\SPI\Persistence\Handler|null |
|
56 | 56 | */ |
57 | 57 | public function getCustomHandler() |
58 | 58 | { |
@@ -52,7 +52,7 @@ |
||
52 | 52 | /** |
53 | 53 | * Get handler with required custom field types registered. |
54 | 54 | * |
55 | - * @return Handler |
|
55 | + * @return \eZ\Publish\SPI\Persistence\Handler|null |
|
56 | 56 | */ |
57 | 57 | public function getCustomHandler() |
58 | 58 | { |
@@ -52,7 +52,7 @@ |
||
52 | 52 | /** |
53 | 53 | * Get handler with required custom field types registered. |
54 | 54 | * |
55 | - * @return Handler |
|
55 | + * @return \eZ\Publish\SPI\Persistence\Handler|null |
|
56 | 56 | */ |
57 | 57 | public function getCustomHandler() |
58 | 58 | { |
@@ -52,7 +52,7 @@ |
||
52 | 52 | /** |
53 | 53 | * Get handler with required custom field types registered. |
54 | 54 | * |
55 | - * @return Handler |
|
55 | + * @return \eZ\Publish\SPI\Persistence\Handler|null |
|
56 | 56 | */ |
57 | 57 | public function getCustomHandler() |
58 | 58 | { |
@@ -32,6 +32,10 @@ discard block |
||
32 | 32 | $this->output = $output; |
33 | 33 | } |
34 | 34 | |
35 | + /** |
|
36 | + * @param string $source |
|
37 | + * @param string $target |
|
38 | + */ |
|
35 | 39 | protected function copyConfigurationFile($source, $target) |
36 | 40 | { |
37 | 41 | $fs = new Filesystem(); |
@@ -42,6 +46,9 @@ discard block |
||
42 | 46 | } |
43 | 47 | } |
44 | 48 | |
49 | + /** |
|
50 | + * @param string $file |
|
51 | + */ |
|
45 | 52 | protected function runQueriesFromFile($file) |
46 | 53 | { |
47 | 54 | $queries = array_filter(preg_split('(;\\s*$)m', file_get_contents($file))); |
@@ -126,7 +126,7 @@ |
||
126 | 126 | * If not set the initialLanguage of the content version is used. |
127 | 127 | * |
128 | 128 | * @param string $fieldDefIdentifier |
129 | - * @param null $languageCode |
|
129 | + * @param string $languageCode |
|
130 | 130 | * |
131 | 131 | * @return \eZ\Publish\API\Repository\Values\Content\Field|null A {@link Field} or null if nothing is found |
132 | 132 | */ |
@@ -22,7 +22,7 @@ |
||
22 | 22 | * Return an array of container extensions you need to be registered for each test (usually just the container |
23 | 23 | * extension you are testing. |
24 | 24 | * |
25 | - * @return ExtensionInterface[] |
|
25 | + * @return EzPublishCoreExtension[] |
|
26 | 26 | */ |
27 | 27 | protected function getContainerExtensions() |
28 | 28 | { |
@@ -72,9 +72,7 @@ discard block |
||
72 | 72 | /** |
73 | 73 | * Initialize class. |
74 | 74 | * |
75 | - * @param string $url Base URL for REST calls |
|
76 | 75 | * @param string $driver REST Driver to be used |
77 | - * @param string $json |
|
78 | 76 | */ |
79 | 77 | public function __construct( |
80 | 78 | $driver = self::DEFAULT_DRIVER, |
@@ -88,6 +86,9 @@ discard block |
||
88 | 86 | $this->setRestDriver($this->driver); |
89 | 87 | } |
90 | 88 | |
89 | + /** |
|
90 | + * @param string $url |
|
91 | + */ |
|
91 | 92 | private function setUrl($url) |
92 | 93 | { |
93 | 94 | $this->url = $url; |
@@ -219,7 +219,7 @@ |
||
219 | 219 | /** |
220 | 220 | * Decompose the header to get only the object type of the accept/conten-type headers. |
221 | 221 | * |
222 | - * @return false|string Decomposed string if found, false other wise |
|
222 | + * @return string Decomposed string if found, false other wise |
|
223 | 223 | */ |
224 | 224 | protected function decomposeObjectHeader($header) |
225 | 225 | { |