@@ -69,7 +69,7 @@ public function __construct($str_kind)
69
69
* @param bool $bol_index
70
70
* @return $this
71
71
*/
72
- public function addProperty ($ str_name , $ int_type = self ::PROPERTY_STRING , $ bol_index = FALSE )
72
+ public function addProperty ($ str_name , $ int_type = self ::PROPERTY_STRING , $ bol_index = TRUE )
73
73
{
74
74
$ this ->arr_defined_properties [$ str_name ] = [
75
75
'type ' => $ int_type ,
@@ -85,7 +85,7 @@ public function addProperty($str_name, $int_type = self::PROPERTY_STRING, $bol_i
85
85
* @param bool $bol_index
86
86
* @return Schema
87
87
*/
88
- public function addString ($ str_name , $ bol_index = FALSE )
88
+ public function addString ($ str_name , $ bol_index = TRUE )
89
89
{
90
90
return $ this ->addProperty ($ str_name , self ::PROPERTY_STRING , $ bol_index );
91
91
}
@@ -97,7 +97,7 @@ public function addString($str_name, $bol_index = FALSE)
97
97
* @param bool $bol_index
98
98
* @return Schema
99
99
*/
100
- public function addInteger ($ str_name , $ bol_index = FALSE )
100
+ public function addInteger ($ str_name , $ bol_index = TRUE )
101
101
{
102
102
return $ this ->addProperty ($ str_name , self ::PROPERTY_INTEGER , $ bol_index );
103
103
}
@@ -109,7 +109,7 @@ public function addInteger($str_name, $bol_index = FALSE)
109
109
* @param bool $bol_index
110
110
* @return Schema
111
111
*/
112
- public function addDatetime ($ str_name , $ bol_index = FALSE )
112
+ public function addDatetime ($ str_name , $ bol_index = TRUE )
113
113
{
114
114
return $ this ->addProperty ($ str_name , self ::PROPERTY_DATETIME , $ bol_index );
115
115
}
@@ -121,7 +121,7 @@ public function addDatetime($str_name, $bol_index = FALSE)
121
121
* @param bool $bol_index
122
122
* @return Schema
123
123
*/
124
- public function addFloat ($ str_name , $ bol_index = FALSE )
124
+ public function addFloat ($ str_name , $ bol_index = TRUE )
125
125
{
126
126
return $ this ->addProperty ($ str_name , self ::PROPERTY_FLOAT , $ bol_index );
127
127
}
@@ -133,7 +133,7 @@ public function addFloat($str_name, $bol_index = FALSE)
133
133
* @param bool $bol_index
134
134
* @return Schema
135
135
*/
136
- public function addBoolean ($ str_name , $ bol_index = FALSE )
136
+ public function addBoolean ($ str_name , $ bol_index = TRUE )
137
137
{
138
138
return $ this ->addProperty ($ str_name , self ::PROPERTY_BOOLEAN , $ bol_index );
139
139
}
@@ -145,7 +145,7 @@ public function addBoolean($str_name, $bol_index = FALSE)
145
145
* @param bool $bol_index
146
146
* @return Schema
147
147
*/
148
- public function addStringList ($ str_name , $ bol_index = FALSE )
148
+ public function addStringList ($ str_name , $ bol_index = TRUE )
149
149
{
150
150
return $ this ->addProperty ($ str_name , self ::PROPERTY_STRING_LIST , $ bol_index );
151
151
}
0 commit comments