Skip to content

Commit

Permalink
Fix docblock imports (#34164)
Browse files Browse the repository at this point in the history
  • Loading branch information
Phil E. Taylor committed May 24, 2021
1 parent 06b5e38 commit 3544d8b
Show file tree
Hide file tree
Showing 11 changed files with 30 additions and 30 deletions.
2 changes: 1 addition & 1 deletion libraries/src/Feed/FeedParser.php
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ public function parse()
* @param string $prefix The XML namespace prefix for which to register the namespace object.
* @param NamespaceParserInterface $namespace The namespace object to register.
*
* @return JFeed
* @return FeedParser
*
* @since 3.1.4
*/
Expand Down
2 changes: 1 addition & 1 deletion libraries/src/Filesystem/FilesystemHelper.php
Original file line number Diff line number Diff line change
Expand Up @@ -265,7 +265,7 @@ public static function getJStreams()
{
$files = new \DirectoryIterator(__DIR__ . '/Streams');

/** @var $file DirectoryIterator */
/** @var $file \DirectoryIterator */
foreach ($files as $file)
{
// Only load for php files.
Expand Down
8 changes: 4 additions & 4 deletions libraries/src/Filesystem/Patcher.php
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ protected function __construct()
/**
* Method to get a patcher
*
* @return FilesystemPatcher an instance of the patcher
* @return Patcher an instance of the patcher
*
* @since 3.0.0
*/
Expand All @@ -101,7 +101,7 @@ public static function getInstance()
/**
* Reset the patcher
*
* @return FilesystemPatcher This object for chaining
* @return Patcher This object for chaining
*
* @since 3.0.0
*/
Expand Down Expand Up @@ -214,7 +214,7 @@ public function apply()
* @param string $root The files root path
* @param integer $strip The number of '/' to strip
*
* @return FilesystemPatcher $this for chaining
* @return Patcher $this for chaining
*
* @since 3.0.0
*/
Expand All @@ -230,7 +230,7 @@ public function addFile($filename, $root = JPATH_BASE, $strip = 0)
* @param string $root The files root path
* @param integer $strip The number of '/' to strip
*
* @return FilesystemPatcher $this for chaining
* @return Patcher $this for chaining
*
* @since 3.0.0
*/
Expand Down
6 changes: 3 additions & 3 deletions libraries/src/Form/Field/AccessiblemediaField.php
Original file line number Diff line number Diff line change
Expand Up @@ -120,9 +120,9 @@ public function __set($name, $value)
/**
* Method to attach a Form object to the field.
*
* @param SimpleXMLElement $element The SimpleXMLElement object representing the <field /> tag for the form field object.
* @param mixed $value The form field value to validate.
* @param string $group The field name group control value.
* @param \SimpleXMLElement $element The SimpleXMLElement object representing the <field /> tag for the form field object.
* @param mixed $value The form field value to validate.
* @param string $group The field name group control value.
*
* @return boolean True on success.
*
Expand Down
6 changes: 3 additions & 3 deletions libraries/src/Form/Field/CalendarField.php
Original file line number Diff line number Diff line change
Expand Up @@ -157,9 +157,9 @@ public function __set($name, $value)
/**
* Method to attach a Form object to the field.
*
* @param SimpleXMLElement $element The SimpleXMLElement object representing the `<field>` tag for the form field object.
* @param mixed $value The form field value to validate.
* @param string $group The field name group control value. This acts as an array container for the field.
* @param \SimpleXMLElement $element The SimpleXMLElement object representing the `<field>` tag for the form field object.
* @param mixed $value The form field value to validate.
* @param string $group The field name group control value. This acts as an array container for the field.
* For example if the field has name="foo" and the group value is set to "bar" then the
* full field name would end up being "bar[foo]".
*
Expand Down
6 changes: 3 additions & 3 deletions libraries/src/Form/Field/CheckboxesField.php
Original file line number Diff line number Diff line change
Expand Up @@ -116,9 +116,9 @@ protected function getInput()
/**
* Method to attach a Form object to the field.
*
* @param SimpleXMLElement $element The SimpleXMLElement object representing the `<field>` tag for the form field object.
* @param mixed $value The form field value to validate.
* @param string $group The field name group control value. This acts as an array container for the field.
* @param \SimpleXMLElement $element The SimpleXMLElement object representing the `<field>` tag for the form field object.
* @param mixed $value The form field value to validate.
* @param string $group The field name group control value. This acts as an array container for the field.
* For example if the field has name="foo" and the group value is set to "bar" then the
* full field name would end up being "bar[foo]".
*
Expand Down
6 changes: 3 additions & 3 deletions libraries/src/Form/Field/FileField.php
Original file line number Diff line number Diff line change
Expand Up @@ -91,9 +91,9 @@ public function __set($name, $value)
/**
* Method to attach a Form object to the field.
*
* @param SimpleXMLElement $element The SimpleXMLElement object representing the `<field>` tag for the form field object.
* @param mixed $value The form field value to validate.
* @param string $group The field name group control value. This acts as an array container for the field.
* @param \SimpleXMLElement $element The SimpleXMLElement object representing the `<field>` tag for the form field object.
* @param mixed $value The form field value to validate.
* @param string $group The field name group control value. This acts as an array container for the field.
* For example if the field has name="foo" and the group value is set to "bar" then the
* full field name would end up being "bar[foo]".
*
Expand Down
6 changes: 3 additions & 3 deletions libraries/src/Form/Field/MeterField.php
Original file line number Diff line number Diff line change
Expand Up @@ -129,9 +129,9 @@ public function __set($name, $value)
/**
* Method to attach a Form object to the field.
*
* @param SimpleXMLElement $element The SimpleXMLElement object representing the `<field>` tag for the form field object.
* @param mixed $value The form field value to validate.
* @param string $group The field name group control value. This acts as an array container for the field.
* @param \SimpleXMLElement $element The SimpleXMLElement object representing the `<field>` tag for the form field object.
* @param mixed $value The form field value to validate.
* @param string $group The field name group control value. This acts as an array container for the field.
* For example if the field has name="foo" and the group value is set to "bar" then the
* full field name would end up being "bar[foo]".
*
Expand Down
6 changes: 3 additions & 3 deletions libraries/src/Form/Field/PredefinedlistField.php
Original file line number Diff line number Diff line change
Expand Up @@ -62,9 +62,9 @@ abstract class PredefinedlistField extends ListField
/**
* Method to attach a Form object to the field.
*
* @param SimpleXMLElement $element The SimpleXMLElement object representing the `<field>` tag for the form field object.
* @param mixed $value The form field value to validate.
* @param string $group The field name group control value. This acts as an array container for the field.
* @param \SimpleXMLElement $element The SimpleXMLElement object representing the `<field>` tag for the form field object.
* @param mixed $value The form field value to validate.
* @param string $group The field name group control value. This acts as an array container for the field.
* For example if the field has name="foo" and the group value is set to "bar" then the
* full field name would end up being "bar[foo]".
*
Expand Down
6 changes: 3 additions & 3 deletions libraries/src/Form/Field/SubformField.php
Original file line number Diff line number Diff line change
Expand Up @@ -181,9 +181,9 @@ public function __set($name, $value)
/**
* Method to attach a Form object to the field.
*
* @param SimpleXMLElement $element The SimpleXMLElement object representing the <field /> tag for the form field object.
* @param mixed $value The form field value to validate.
* @param string $group The field name group control value.
* @param \SimpleXMLElement $element The SimpleXMLElement object representing the <field /> tag for the form field object.
* @param mixed $value The form field value to validate.
* @param string $group The field name group control value.
*
* @return boolean True on success.
*
Expand Down
6 changes: 3 additions & 3 deletions libraries/src/Form/Field/TextareaField.php
Original file line number Diff line number Diff line change
Expand Up @@ -124,9 +124,9 @@ public function __set($name, $value)
/**
* Method to attach a Form object to the field.
*
* @param SimpleXMLElement $element The SimpleXMLElement object representing the `<field>` tag for the form field object.
* @param mixed $value The form field value to validate.
* @param string $group The field name group control value. This acts as an array container for the field.
* @param \SimpleXMLElement $element The SimpleXMLElement object representing the `<field>` tag for the form field object.
* @param mixed $value The form field value to validate.
* @param string $group The field name group control value. This acts as an array container for the field.
* For example if the field has name="foo" and the group value is set to "bar" then the
* full field name would end up being "bar[foo]".
*
Expand Down

0 comments on commit 3544d8b

Please sign in to comment.