From 60a9bb32f1fe9fe1e0a06bcc873211bfd8256540 Mon Sep 17 00:00:00 2001 From: KyleKatarn Date: Sat, 25 Apr 2020 22:38:35 +0200 Subject: [PATCH] Align class_exist test with JsPhpizeDotCarrier class declaration --- src/JsPhpize/Compiler/Helpers/Dot.h | 2 +- src/JsPhpize/Compiler/Helpers/Dot.ref.h | 2 +- src/JsPhpize/Compiler/Helpers/DotObject.h | 2 +- src/JsPhpize/Compiler/Helpers/DotObject.ref.h | 2 +- src/JsPhpize/Compiler/Helpers/DotWithArrayPrototype.h | 2 +- src/JsPhpize/Compiler/Helpers/DotWithArrayPrototype.ref.h | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/JsPhpize/Compiler/Helpers/Dot.h b/src/JsPhpize/Compiler/Helpers/Dot.h index 8fdf1e8..6ce7f82 100644 --- a/src/JsPhpize/Compiler/Helpers/Dot.h +++ b/src/JsPhpize/Compiler/Helpers/Dot.h @@ -101,7 +101,7 @@ function ($base) { return $base; }; -if (!class_exists('JsPhpizeDotCarrier')) { +if (!class_exists(JsPhpizeDotCarrier::class)) { class JsPhpizeDotCarrier extends \ArrayObject { public function getValue() diff --git a/src/JsPhpize/Compiler/Helpers/Dot.ref.h b/src/JsPhpize/Compiler/Helpers/Dot.ref.h index 736ec1b..391e70c 100644 --- a/src/JsPhpize/Compiler/Helpers/Dot.ref.h +++ b/src/JsPhpize/Compiler/Helpers/Dot.ref.h @@ -104,7 +104,7 @@ function (&$base) { return $result; }; -if (!class_exists('JsPhpizeDotCarrier')) { +if (!class_exists(JsPhpizeDotCarrier::class)) { class JsPhpizeDotCarrier extends \ArrayObject { public function getValue() diff --git a/src/JsPhpize/Compiler/Helpers/DotObject.h b/src/JsPhpize/Compiler/Helpers/DotObject.h index 31dbc26..dfcc612 100644 --- a/src/JsPhpize/Compiler/Helpers/DotObject.h +++ b/src/JsPhpize/Compiler/Helpers/DotObject.h @@ -98,7 +98,7 @@ function ($base) { return $base; }; -if (!class_exists('JsPhpizeDotCarrier')) { +if (!class_exists(JsPhpizeDotCarrier::class)) { class JsPhpizeDotCarrier extends \ArrayObject { public function getValue() diff --git a/src/JsPhpize/Compiler/Helpers/DotObject.ref.h b/src/JsPhpize/Compiler/Helpers/DotObject.ref.h index 273f0a3..65f2f3a 100644 --- a/src/JsPhpize/Compiler/Helpers/DotObject.ref.h +++ b/src/JsPhpize/Compiler/Helpers/DotObject.ref.h @@ -101,7 +101,7 @@ function (&$base) { return $result; }; -if (!class_exists('JsPhpizeDotCarrier')) { +if (!class_exists(JsPhpizeDotCarrier::class)) { class JsPhpizeDotCarrier extends \ArrayObject { public function getValue() diff --git a/src/JsPhpize/Compiler/Helpers/DotWithArrayPrototype.h b/src/JsPhpize/Compiler/Helpers/DotWithArrayPrototype.h index 8dcb842..6e36bc5 100644 --- a/src/JsPhpize/Compiler/Helpers/DotWithArrayPrototype.h +++ b/src/JsPhpize/Compiler/Helpers/DotWithArrayPrototype.h @@ -180,7 +180,7 @@ function ($base) { return $base; }; -if (!class_exists('JsPhpizeDotCarrier')) { +if (!class_exists(JsPhpizeDotCarrier::class)) { class JsPhpizeDotCarrier extends \ArrayObject { public function getValue() diff --git a/src/JsPhpize/Compiler/Helpers/DotWithArrayPrototype.ref.h b/src/JsPhpize/Compiler/Helpers/DotWithArrayPrototype.ref.h index 3c159fe..c17c5ed 100644 --- a/src/JsPhpize/Compiler/Helpers/DotWithArrayPrototype.ref.h +++ b/src/JsPhpize/Compiler/Helpers/DotWithArrayPrototype.ref.h @@ -183,7 +183,7 @@ function (&$base) { return $result; }; -if (!class_exists('JsPhpizeDotCarrier')) { +if (!class_exists(JsPhpizeDotCarrier::class)) { class JsPhpizeDotCarrier extends \ArrayObject { public function getValue()