@@ -133,7 +133,7 @@ public static function inchToPoint($inch = 1)
133
133
* Convert inch to EMU
134
134
*
135
135
* @param float $inch
136
- * @return float
136
+ * @return int
137
137
*/
138
138
public static function inchToEmu ($ inch = 1 )
139
139
{
@@ -143,7 +143,7 @@ public static function inchToEmu($inch = 1)
143
143
/**
144
144
* Convert pixel to twip
145
145
*
146
- * @param int $pixel
146
+ * @param float $pixel
147
147
* @return float
148
148
*/
149
149
public static function pixelToTwip ($ pixel = 1 )
@@ -154,7 +154,7 @@ public static function pixelToTwip($pixel = 1)
154
154
/**
155
155
* Convert pixel to centimeter
156
156
*
157
- * @param int $pixel
157
+ * @param float $pixel
158
158
* @return float
159
159
*/
160
160
public static function pixelToCm ($ pixel = 1 )
@@ -165,7 +165,7 @@ public static function pixelToCm($pixel = 1)
165
165
/**
166
166
* Convert pixel to point
167
167
*
168
- * @param int $pixel
168
+ * @param float $pixel
169
169
* @return float
170
170
*/
171
171
public static function pixelToPoint ($ pixel = 1 )
@@ -176,7 +176,7 @@ public static function pixelToPoint($pixel = 1)
176
176
/**
177
177
* Convert pixel to EMU
178
178
*
179
- * @param int $pixel
179
+ * @param float $pixel
180
180
* @return int
181
181
*/
182
182
public static function pixelToEmu ($ pixel = 1 )
@@ -187,7 +187,7 @@ public static function pixelToEmu($pixel = 1)
187
187
/**
188
188
* Convert point to twip unit
189
189
*
190
- * @param int $point
190
+ * @param float $point
191
191
* @return float
192
192
*/
193
193
public static function pointToTwip ($ point = 1 )
@@ -209,7 +209,7 @@ public static function pointToPixel($point = 1)
209
209
/**
210
210
* Convert point to EMU
211
211
*
212
- * @param int $point
212
+ * @param float $point
213
213
* @return float
214
214
*/
215
215
public static function pointToEmu ($ point = 1 )
@@ -231,7 +231,7 @@ public static function pointToCm($point = 1)
231
231
/**
232
232
* Convert EMU to pixel
233
233
*
234
- * @param int $emu
234
+ * @param float $emu
235
235
* @return float
236
236
*/
237
237
public static function emuToPixel ($ emu = 1 )
@@ -242,7 +242,7 @@ public static function emuToPixel($emu = 1)
242
242
/**
243
243
* Convert pica to point
244
244
*
245
- * @param int $pica
245
+ * @param float $pica
246
246
* @return float
247
247
*/
248
248
public static function picaToPoint ($ pica = 1 )
@@ -253,7 +253,7 @@ public static function picaToPoint($pica = 1)
253
253
/**
254
254
* Convert degree to angle
255
255
*
256
- * @param int $degree
256
+ * @param float $degree
257
257
* @return int
258
258
*/
259
259
public static function degreeToAngle ($ degree = 1 )
@@ -264,7 +264,7 @@ public static function degreeToAngle($degree = 1)
264
264
/**
265
265
* Convert angle to degrees
266
266
*
267
- * @param int $angle
267
+ * @param float $angle
268
268
* @return int
269
269
*/
270
270
public static function angleToDegree ($ angle = 1 )
0 commit comments