Skip to content

Commit ad70f77

Browse files
committed
Enhance FieldType\Generic\Type phpdoc: Fix internal links
1 parent ee31d5a commit ad70f77

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/contracts/FieldType/Generic/Type.php

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -260,15 +260,15 @@ final public function acceptValue($inputValue): Value
260260
* If given $inputValue could not be converted or is already an instance of dedicate value object,
261261
* the method should simply return it.
262262
*
263-
* This is an operation method for {@see acceptValue()}.
263+
* This is an operation method for {@see Type::acceptValue()}.
264264
*
265265
* Example implementation:
266266
* ```
267-
* protected function createValueFromInput( $inputValue )
267+
* protected function createValueFromInput($inputValue)
268268
* {
269269
* if (is_array($inputValue))
270270
* {
271-
* $inputValue = \My\FieldType\CookieJar\Value( $inputValue );
271+
* $inputValue = \My\FieldType\CookieJar\Value($inputValue);
272272
* }
273273
*
274274
* return $inputValue;
@@ -304,7 +304,7 @@ protected function getValueClass(): string
304304
/**
305305
* Throws an exception if the given $value is not an instance of the supported value subtype.
306306
*
307-
* This is an operation method for {@see acceptValue()}.
307+
* This is an operation method for {@see Type::acceptValue()}.
308308
*
309309
* Default implementation expects the value class to reside in the same namespace as its
310310
* FieldType class and is named "Value".
@@ -320,7 +320,7 @@ protected function getValueClass(): string
320320
* }
321321
* ```
322322
*
323-
* @param mixed $value A value returned by {@see createValueFromInput()}.
323+
* @param mixed $value A value returned by {@see Type::createValueFromInput()}.
324324
*
325325
* @throws \Ibexa\Contracts\Core\Repository\Exceptions\InvalidArgumentException If the parameter is not an instance of the supported value subtype.
326326
*/

0 commit comments

Comments
 (0)