File tree Expand file tree Collapse file tree 2 files changed +3
-4
lines changed
Expand file tree Collapse file tree 2 files changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -71,10 +71,9 @@ public function setName($name)
7171 * Set single option for the object
7272 *
7373 * @param string $key
74- * @param mixed $value
7574 * @return $this Provides a fluent interface
7675 */
77- public function setOption ($ key , $ value )
76+ public function setOption ($ key , mixed $ value )
7877 {
7978 if (in_array (strtolower ($ key ), $ this ->skipOptions )) {
8079 return $ this ;
Original file line number Diff line number Diff line change @@ -432,7 +432,7 @@ public function setWidth($width)
432432 */
433433 protected function randomFreq ()
434434 {
435- return mt_rand (700000 , 1000000 ) / 15000000 ;
435+ return mt_rand (700000 , 1_000_000 ) / 15_000_000 ;
436436 }
437437
438438 /**
@@ -443,7 +443,7 @@ protected function randomFreq()
443443 protected function randomPhase ()
444444 {
445445 // random phase from 0 to pi
446- return mt_rand (0 , 3141592 ) / 1000000 ;
446+ return mt_rand (0 , 3_141_592 ) / 1_000_000 ;
447447 }
448448
449449 /**
You can’t perform that action at this time.
0 commit comments