Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 456ecd8

Browse filesBrowse files
alamiraultfabpot
authored andcommitted
Fix some phpdoc
1 parent 0725a16 commit 456ecd8
Copy full SHA for 456ecd8

File tree

Expand file treeCollapse file tree

4 files changed

+8
-8
lines changed
Filter options
Expand file treeCollapse file tree

4 files changed

+8
-8
lines changed

‎src/Symfony/Component/ExpressionLanguage/Token.php

Copy file name to clipboardExpand all lines: src/Symfony/Component/ExpressionLanguage/Token.php
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ class Token
3232
/**
3333
* @param string $type The type of the token (self::*_TYPE)
3434
* @param string|int|float|null $value The token value
35-
* @param int $cursor The cursor position in the source
35+
* @param int|null $cursor The cursor position in the source
3636
*/
3737
public function __construct(string $type, $value, ?int $cursor)
3838
{

‎src/Symfony/Component/Filesystem/Tests/Fixtures/MockStream/MockStream.php

Copy file name to clipboardExpand all lines: src/Symfony/Component/Filesystem/Tests/Fixtures/MockStream/MockStream.php
+5-5Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -22,11 +22,11 @@ class MockStream
2222
/**
2323
* Opens file or URL.
2424
*
25-
* @param string $path Specifies the URL that was passed to the original function
26-
* @param string $mode The mode used to open the file, as detailed for fopen()
27-
* @param int $options Holds additional flags set by the streams API
28-
* @param string $opened_path If the path is opened successfully, and STREAM_USE_PATH is set in options,
29-
* opened_path should be set to the full path of the file/resource that was actually opened
25+
* @param string $path Specifies the URL that was passed to the original function
26+
* @param string $mode The mode used to open the file, as detailed for fopen()
27+
* @param int $options Holds additional flags set by the streams API
28+
* @param string|null $opened_path If the path is opened successfully, and STREAM_USE_PATH is set in options,
29+
* opened_path should be set to the full path of the file/resource that was actually opened
3030
*/
3131
public function stream_open(string $path, string $mode, int $options, string &$opened_path = null): bool
3232
{

‎src/Symfony/Component/Finder/Comparator/NumberComparator.php

Copy file name to clipboardExpand all lines: src/Symfony/Component/Finder/Comparator/NumberComparator.php
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
class NumberComparator extends Comparator
3636
{
3737
/**
38-
* @param string|int $test A comparison string or an integer
38+
* @param string|null $test A comparison string or null
3939
*
4040
* @throws \InvalidArgumentException If the test is not understood
4141
*/

‎src/Symfony/Component/Form/Extension/Core/DataTransformer/IntegerToLocalizedStringTransformer.php

Copy file name to clipboardExpand all lines: src/Symfony/Component/Form/Extension/Core/DataTransformer/IntegerToLocalizedStringTransformer.php
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ class IntegerToLocalizedStringTransformer extends NumberToLocalizedStringTransfo
2525
* Constructs a transformer.
2626
*
2727
* @param bool $grouping Whether thousands should be grouped
28-
* @param int $roundingMode One of the ROUND_ constants in this class
28+
* @param int|null $roundingMode One of the ROUND_ constants in this class
2929
* @param string|null $locale locale used for transforming
3030
*/
3131
public function __construct(?bool $grouping = false, ?int $roundingMode = \NumberFormatter::ROUND_DOWN, string $locale = null)

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.