|
@@ -88,9 +88,9 @@ discard block |
|
|
block discarded – undo |
|
88
|
88
|
return $R; |
|
89
|
89
|
|
|
90
|
90
|
} catch (\Exception $e) { |
|
91
|
|
- throw new PointException("Caught the following exception in Point::pointAddW(): " . $e->getMessage(), 0, $e); |
|
|
91
|
+ throw new PointException("Caught the following exception in Point::pointAddW(): ".$e->getMessage(), 0, $e); |
|
92
|
92
|
} catch (\Error $e) { |
|
93
|
|
- throw new PointException("Fatal error in Point::pointAddW(): " . $e->getMessage(), 0, $e); |
|
|
93
|
+ throw new PointException("Fatal error in Point::pointAddW(): ".$e->getMessage(), 0, $e); |
|
94
|
94
|
} |
|
95
|
95
|
} |
|
96
|
96
|
|
|
@@ -144,9 +144,9 @@ discard block |
|
|
block discarded – undo |
|
144
|
144
|
return $R; |
|
145
|
145
|
|
|
146
|
146
|
} catch (\Exception $e) { |
|
147
|
|
- throw new PointException("Caught the following exception in Point::pointDoubleW(): " . $e->getMessage(), 0, $e); |
|
|
147
|
+ throw new PointException("Caught the following exception in Point::pointDoubleW(): ".$e->getMessage(), 0, $e); |
|
148
|
148
|
} catch (\Error $e) { |
|
149
|
|
- throw new PointException("Fatal error in Point::pointDoubleW(): " . $e->getMessage(), 0, $e); |
|
|
149
|
+ throw new PointException("Fatal error in Point::pointDoubleW(): ".$e->getMessage(), 0, $e); |
|
150
|
150
|
} |
|
151
|
151
|
} |
|
152
|
152
|
|
|
@@ -197,12 +197,12 @@ discard block |
|
|
block discarded – undo |
|
197
|
197
|
return true; |
|
198
|
198
|
} |
|
199
|
199
|
|
|
200
|
|
- throw new PointException('Point test failed! Cannot continue. I tested the point: ' . var_export($P, true) . ' but got the point: ' . var_export($test_point, true)); |
|
|
200
|
+ throw new PointException('Point test failed! Cannot continue. I tested the point: '.var_export($P, true).' but got the point: '.var_export($test_point, true)); |
|
201
|
201
|
|
|
202
|
202
|
} catch (\Exception $e) { |
|
203
|
|
- throw new PointException("Caught the following exception in Point::pointTestW(): " . $e->getMessage(), 0, $e); |
|
|
203
|
+ throw new PointException("Caught the following exception in Point::pointTestW(): ".$e->getMessage(), 0, $e); |
|
204
|
204
|
} catch (\Error $e) { |
|
205
|
|
- throw new PointException("Fatal error in Point::pointTestW(): " . $e->getMessage(), 0, $e); |
|
|
205
|
+ throw new PointException("Fatal error in Point::pointTestW(): ".$e->getMessage(), 0, $e); |
|
206
|
206
|
} |
|
207
|
207
|
} |
|
208
|
208
|
|
|
@@ -289,7 +289,7 @@ discard block |
|
|
block discarded – undo |
|
289
|
289
|
$Rx_hex = str_pad($this->encodeHex($R['x']), 64, "0", STR_PAD_LEFT); |
|
290
|
290
|
$Ry_hex = str_pad($this->encodeHex($R['y']), 64, "0", STR_PAD_LEFT); |
|
291
|
291
|
} else { |
|
292
|
|
- throw new PointException('Point test failed! Cannot continue. I got the point: ' . var_export($R, true)); |
|
|
292
|
+ throw new PointException('Point test failed! Cannot continue. I got the point: '.var_export($R, true)); |
|
293
|
293
|
} |
|
294
|
294
|
|
|
295
|
295
|
return array( |
|
@@ -320,9 +320,9 @@ discard block |
|
|
block discarded – undo |
|
320
|
320
|
return $this->encodeHex($y); |
|
321
|
321
|
|
|
322
|
322
|
} catch (\Exception $e) { |
|
323
|
|
- throw new PointException("Caught the following exception in Point::calcYfromX(): " . $e->getMessage(), 0, $e); |
|
|
323
|
+ throw new PointException("Caught the following exception in Point::calcYfromX(): ".$e->getMessage(), 0, $e); |
|
324
|
324
|
} catch (\Error $e) { |
|
325
|
|
- throw new PointException("Fatal error in Point::calcYfromX(): " . $e->getMessage(), 0, $e); |
|
|
325
|
+ throw new PointException("Fatal error in Point::calcYfromX(): ".$e->getMessage(), 0, $e); |
|
326
|
326
|
} |
|
327
|
327
|
} |
|
328
|
328
|
|