Skip to content

Commit

Permalink
Align class_exist test with JsPhpizeDotCarrier class declaration
Browse files Browse the repository at this point in the history
  • Loading branch information
kylekatarnls committed Apr 25, 2020
1 parent 33b3f60 commit 60a9bb3
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion src/JsPhpize/Compiler/Helpers/Dot.h
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ function ($base) {
return $base;
};

if (!class_exists('JsPhpizeDotCarrier')) {
if (!class_exists(JsPhpizeDotCarrier::class)) {
class JsPhpizeDotCarrier extends \ArrayObject
{
public function getValue()
Expand Down
2 changes: 1 addition & 1 deletion src/JsPhpize/Compiler/Helpers/Dot.ref.h
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ function (&$base) {
return $result;
};

if (!class_exists('JsPhpizeDotCarrier')) {
if (!class_exists(JsPhpizeDotCarrier::class)) {
class JsPhpizeDotCarrier extends \ArrayObject
{
public function getValue()
Expand Down
2 changes: 1 addition & 1 deletion src/JsPhpize/Compiler/Helpers/DotObject.h
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ function ($base) {
return $base;
};

if (!class_exists('JsPhpizeDotCarrier')) {
if (!class_exists(JsPhpizeDotCarrier::class)) {
class JsPhpizeDotCarrier extends \ArrayObject
{
public function getValue()
Expand Down
2 changes: 1 addition & 1 deletion src/JsPhpize/Compiler/Helpers/DotObject.ref.h
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ function (&$base) {
return $result;
};

if (!class_exists('JsPhpizeDotCarrier')) {
if (!class_exists(JsPhpizeDotCarrier::class)) {
class JsPhpizeDotCarrier extends \ArrayObject
{
public function getValue()
Expand Down
2 changes: 1 addition & 1 deletion src/JsPhpize/Compiler/Helpers/DotWithArrayPrototype.h
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ function ($base) {
return $base;
};

if (!class_exists('JsPhpizeDotCarrier')) {
if (!class_exists(JsPhpizeDotCarrier::class)) {
class JsPhpizeDotCarrier extends \ArrayObject
{
public function getValue()
Expand Down
2 changes: 1 addition & 1 deletion src/JsPhpize/Compiler/Helpers/DotWithArrayPrototype.ref.h
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ function (&$base) {
return $result;
};

if (!class_exists('JsPhpizeDotCarrier')) {
if (!class_exists(JsPhpizeDotCarrier::class)) {
class JsPhpizeDotCarrier extends \ArrayObject
{
public function getValue()
Expand Down

0 comments on commit 60a9bb3

Please sign in to comment.