PluginProbe
AcyMailing – An Ultimate Newsletter Plugin and Marketing Automation Solution for WordPress / 11.1.0
AcyMailing – An Ultimate Newsletter Plugin and Marketing Automation Solution for WordPress v11.1.0
11.1.1 11.1.0 11.0.5 11.0.4 11.0.3 11.0.2 11.0.1 11.0.0 10.11.1 10.11.0 10.10.2 10.10.1 10.10.0 10.9.1 trunk 10.0.0 10.0.1 10.1.0 10.1.1 10.1.2 10.1.3 10.1.4 10.2.0 10.2.1 10.2.2 All 62 releases
← All changes | back/Libraries/Symfony/CssSelector/Node/AbstractNode.php +9 -2 10.1.4 → 11.1.0 View file →
@@ -8,9 +8,9 @@
8 8 * For the full copyright and license information, please view the LICENSE
9 9 * file that was distributed with this source code.
10 10 */
11 11
12 -namespace Symfony\Component\CssSelector\Node;
12 +namespace AcyMailing\Libraries\Symfony\CssSelector\Node;
13 13
14 14 /**
15 15 * Abstract base node class.
16 16 *
@@ -22,11 +22,18 @@
22 22 * @internal
23 23 */
24 24 abstract class AbstractNode implements NodeInterface
25 25 {
26 + /**
27 + * @var string
28 + */
26 29 private $nodeName;
27 30
28 31 public function getNodeName(): string
29 32 {
30 - return $this->nodeName = $this->nodeName ?? preg_replace('~.*\\\\([^\\\\]+)Node$~', '$1', static::class);
33 + if (null === $this->nodeName) {
34 + $this->nodeName = preg_replace('~.*\\\\([^\\\\]+)Node$~', '$1', static::class);
35 + }
36 +
37 + return $this->nodeName;
31 38 }
32 39 }