Ver Fonte

typo in a comment

Aleksandr Kuzmenko há 6 anos atrás
pai
commit
844781ec9f
1 ficheiros alterados com 1 adições e 1 exclusões
  1. 1 1
      src/generators/genphp7.ml

+ 1 - 1
src/generators/genphp7.ml

@@ -3302,7 +3302,7 @@ class class_builder ctx (cls:tclass) =
 			has_class_field_flag field CfFinal
 			has_class_field_flag field CfFinal
 		(**
 		(**
 			Check if there is no native php constructor in inheritance chain of this class.
 			Check if there is no native php constructor in inheritance chain of this class.
-			E.g. `StsClass` does have a constructor while still can be called with `new StdClass()`.
+			E.g. `StdClass` does have a constructor while still can be called with `new StdClass()`.
 			So this method will return true for `MyClass` if `MyClass extends StdClass`.
 			So this method will return true for `MyClass` if `MyClass extends StdClass`.
 		*)
 		*)
 		method private extends_no_constructor =
 		method private extends_no_constructor =