Skip to content

Commit 60a9bb3

Browse files
committed
Align class_exist test with JsPhpizeDotCarrier class declaration
1 parent 33b3f60 commit 60a9bb3

File tree

6 files changed

+6
-6
lines changed

6 files changed

+6
-6
lines changed

src/JsPhpize/Compiler/Helpers/Dot.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ function ($base) {
101101
return $base;
102102
};
103103

104-
if (!class_exists('JsPhpizeDotCarrier')) {
104+
if (!class_exists(JsPhpizeDotCarrier::class)) {
105105
class JsPhpizeDotCarrier extends \ArrayObject
106106
{
107107
public function getValue()

src/JsPhpize/Compiler/Helpers/Dot.ref.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ function (&$base) {
104104
return $result;
105105
};
106106

107-
if (!class_exists('JsPhpizeDotCarrier')) {
107+
if (!class_exists(JsPhpizeDotCarrier::class)) {
108108
class JsPhpizeDotCarrier extends \ArrayObject
109109
{
110110
public function getValue()

src/JsPhpize/Compiler/Helpers/DotObject.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ function ($base) {
9898
return $base;
9999
};
100100

101-
if (!class_exists('JsPhpizeDotCarrier')) {
101+
if (!class_exists(JsPhpizeDotCarrier::class)) {
102102
class JsPhpizeDotCarrier extends \ArrayObject
103103
{
104104
public function getValue()

src/JsPhpize/Compiler/Helpers/DotObject.ref.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ function (&$base) {
101101
return $result;
102102
};
103103

104-
if (!class_exists('JsPhpizeDotCarrier')) {
104+
if (!class_exists(JsPhpizeDotCarrier::class)) {
105105
class JsPhpizeDotCarrier extends \ArrayObject
106106
{
107107
public function getValue()

src/JsPhpize/Compiler/Helpers/DotWithArrayPrototype.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@ function ($base) {
180180
return $base;
181181
};
182182

183-
if (!class_exists('JsPhpizeDotCarrier')) {
183+
if (!class_exists(JsPhpizeDotCarrier::class)) {
184184
class JsPhpizeDotCarrier extends \ArrayObject
185185
{
186186
public function getValue()

src/JsPhpize/Compiler/Helpers/DotWithArrayPrototype.ref.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,7 @@ function (&$base) {
183183
return $result;
184184
};
185185

186-
if (!class_exists('JsPhpizeDotCarrier')) {
186+
if (!class_exists(JsPhpizeDotCarrier::class)) {
187187
class JsPhpizeDotCarrier extends \ArrayObject
188188
{
189189
public function getValue()

0 commit comments

Comments
 (0)