Skip to content

Commit b9eb163

Browse files
[5.4] cs fixes
1 parent 034ccc0 commit b9eb163

File tree

4 files changed

+0
-18
lines changed

4 files changed

+0
-18
lines changed

Dumper.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,8 +45,6 @@ public function __construct(int $indentation = 4)
4545
* @param int $inline The level where you switch to inline YAML
4646
* @param int $indent The level of indentation (used internally)
4747
* @param int $flags A bit field of Yaml::DUMP_* constants to customize the dumped YAML string
48-
*
49-
* @return string
5048
*/
5149
public function dump($input, int $inline = 0, int $indent = 0, int $flags = 0): string
5250
{

Inline.php

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -112,8 +112,6 @@ public static function parse(string $value = null, int $flags = 0, array &$refer
112112
* @param mixed $value The PHP variable to convert
113113
* @param int $flags A bit field of Yaml::DUMP_* constants to customize the dumped YAML string
114114
*
115-
* @return string
116-
*
117115
* @throws DumpException When trying to dump PHP resource
118116
*/
119117
public static function dump($value, int $flags = 0): string
@@ -206,8 +204,6 @@ public static function dump($value, int $flags = 0): string
206204
* Check if given array is hash or just normal indexed array.
207205
*
208206
* @param array|\ArrayObject|\stdClass $value The PHP array or array-like object to check
209-
*
210-
* @return bool
211207
*/
212208
public static function isHash($value): bool
213209
{
@@ -231,8 +227,6 @@ public static function isHash($value): bool
231227
*
232228
* @param array $value The PHP array to dump
233229
* @param int $flags A bit field of Yaml::DUMP_* constants to customize the dumped YAML string
234-
*
235-
* @return string
236230
*/
237231
private static function dumpArray(array $value, int $flags): string
238232
{
@@ -791,8 +785,6 @@ private static function isBinaryString(string $value): bool
791785
/**
792786
* Gets a regex that matches a YAML date.
793787
*
794-
* @return string
795-
*
796788
* @see http://www.yaml.org/spec/1.2/spec.html#id2761573
797789
*/
798790
private static function getTimestampRegex(): string

Unescaper.php

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,6 @@ class Unescaper
3232
* Unescapes a single quoted string.
3333
*
3434
* @param string $value A single quoted string
35-
*
36-
* @return string
3735
*/
3836
public function unescapeSingleQuotedString(string $value): string
3937
{
@@ -44,8 +42,6 @@ public function unescapeSingleQuotedString(string $value): string
4442
* Unescapes a double quoted string.
4543
*
4644
* @param string $value A double quoted string
47-
*
48-
* @return string
4945
*/
5046
public function unescapeDoubleQuotedString(string $value): string
5147
{
@@ -61,8 +57,6 @@ public function unescapeDoubleQuotedString(string $value): string
6157
* Unescapes a character that was found in a double-quoted string.
6258
*
6359
* @param string $value An escaped character
64-
*
65-
* @return string
6660
*/
6761
private function unescapeCharacter(string $value): string
6862
{

Yaml.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -90,8 +90,6 @@ public static function parse(string $input, int $flags = 0)
9090
* @param int $inline The level where you switch to inline YAML
9191
* @param int $indent The amount of spaces to use for indentation of nested nodes
9292
* @param int $flags A bit field of DUMP_* constants to customize the dumped YAML string
93-
*
94-
* @return string
9593
*/
9694
public static function dump($input, int $inline = 2, int $indent = 4, int $flags = 0): string
9795
{

0 commit comments

Comments
 (0)