updated-packages

This commit is contained in:
RafficMohammed
2023-01-08 00:13:22 +05:30
parent 3ff7df7487
commit da241bacb6
12659 changed files with 563377 additions and 510538 deletions

View File

@@ -7,10 +7,11 @@ use Symfony\Component\CssSelector\Node\Specificity;
class Processor
{
/**
* Split a string into seperate properties
* Split a string into separate properties
*
* @param string $propertiesString
* @return array
*
* @return string[]
*/
public function splitIntoSeparateProperties($propertiesString)
{
@@ -40,8 +41,9 @@ class Processor
}
/**
* @param $string
* @return mixed|string
* @param string $string
*
* @return string
*/
private function cleanup($string)
{
@@ -58,9 +60,10 @@ class Processor
}
/**
* Convert a property-string into an object
* Converts a property-string into an object
*
* @param string $property
*
* @return Property|null
*/
public function convertToObject($property, Specificity $specificity = null)
@@ -82,9 +85,10 @@ class Processor
}
/**
* Convert an array of property-strings into objects
* Converts an array of property-strings into objects
*
* @param string[] $properties
*
* @param array $properties
* @return Property[]
*/
public function convertArrayToObjects(array $properties, Specificity $specificity = null)
@@ -106,7 +110,8 @@ class Processor
/**
* Build the property-string for multiple properties
*
* @param array $properties
* @param Property[] $properties
*
* @return string
*/
public function buildPropertiesString(array $properties)

View File

@@ -23,8 +23,8 @@ final class Property
/**
* Property constructor.
* @param $name
* @param $value
* @param string $name
* @param string $value
* @param Specificity|null $specificity
*/
public function __construct($name, $value, Specificity $specificity = null)