PluginProbe
WindPress – Tailwind CSS integration for WordPress / 3.2.92
WindPress – Tailwind CSS integration for WordPress v3.2.92
3.2.91 3.2.92 3.2.90 3.2.89 3.2.88 3.2.87 3.2.86 3.2.85 3.2.84 3.2.83 3.2.82 3.2.81 trunk 3.0.0 3.0.1 3.0.10 3.0.11 3.0.12 3.0.13 3.0.14 3.0.15 3.0.16 3.0.17 3.0.2 3.0.3 All 146 releases
← All changes | vendor/symfony/property-info/PropertyInfoCacheExtractor.php +9 -9 3.0.11 → 3.2.92 View file →
@@ -30,9 +30,9 @@
30 30 }
31 31 /**
32 32 * {@inheritdoc}
33 33 */
34 - public function isReadable(string $class, string $property, array $context = []) : ?bool
34 + public function isReadable(string $class, string $property, array $context = []): ?bool
35 35 {
36 36 return $this->extract('isReadable', [$class, $property, $context]);
37 37 }
38 38 /**
@@ -37,9 +37,9 @@
37 37 }
38 38 /**
39 39 * {@inheritdoc}
40 40 */
41 - public function isWritable(string $class, string $property, array $context = []) : ?bool
41 + public function isWritable(string $class, string $property, array $context = []): ?bool
42 42 {
43 43 return $this->extract('isWritable', [$class, $property, $context]);
44 44 }
45 45 /**
@@ -44,9 +44,9 @@
44 44 }
45 45 /**
46 46 * {@inheritdoc}
47 47 */
48 - public function getShortDescription(string $class, string $property, array $context = []) : ?string
48 + public function getShortDescription(string $class, string $property, array $context = []): ?string
49 49 {
50 50 return $this->extract('getShortDescription', [$class, $property, $context]);
51 51 }
52 52 /**
@@ -51,9 +51,9 @@
51 51 }
52 52 /**
53 53 * {@inheritdoc}
54 54 */
55 - public function getLongDescription(string $class, string $property, array $context = []) : ?string
55 + public function getLongDescription(string $class, string $property, array $context = []): ?string
56 56 {
57 57 return $this->extract('getLongDescription', [$class, $property, $context]);
58 58 }
59 59 /**
@@ -58,9 +58,9 @@
58 58 }
59 59 /**
60 60 * {@inheritdoc}
61 61 */
62 - public function getProperties(string $class, array $context = []) : ?array
62 + public function getProperties(string $class, array $context = []): ?array
63 63 {
64 64 return $this->extract('getProperties', [$class, $context]);
65 65 }
66 66 /**
@@ -65,9 +65,9 @@
65 65 }
66 66 /**
67 67 * {@inheritdoc}
68 68 */
69 - public function getTypes(string $class, string $property, array $context = []) : ?array
69 + public function getTypes(string $class, string $property, array $context = []): ?array
70 70 {
71 71 return $this->extract('getTypes', [$class, $property, $context]);
72 72 }
73 73 /**
@@ -72,9 +72,9 @@
72 72 }
73 73 /**
74 74 * {@inheritdoc}
75 75 */
76 - public function isInitializable(string $class, string $property, array $context = []) : ?bool
76 + public function isInitializable(string $class, string $property, array $context = []): ?bool
77 77 {
78 78 return $this->extract('isInitializable', [$class, $property, $context]);
79 79 }
80 80 /**
@@ -84,15 +84,15 @@
84 84 */
85 85 private function extract(string $method, array $arguments)
86 86 {
87 87 try {
88 - $serializedArguments = \serialize($arguments);
88 + $serializedArguments = serialize($arguments);
89 89 } catch (\Exception $exception) {
90 90 // If arguments are not serializable, skip the cache
91 91 return $this->propertyInfoExtractor->{$method}(...$arguments);
92 92 }
93 93 // Calling rawurlencode escapes special characters not allowed in PSR-6's keys
94 - $key = \rawurlencode($method . '.' . $serializedArguments);
94 + $key = rawurlencode($method . '.' . $serializedArguments);
95 95 if (\array_key_exists($key, $this->arrayCache)) {
96 96 return $this->arrayCache[$key];
97 97 }
98 98 $item = $this->cacheItemPool->getItem($key);