File tree Expand file tree Collapse file tree 3 files changed +6
-6
lines changed
Expand file tree Collapse file tree 3 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -414,12 +414,12 @@ public static function setErrorHandler(callable $callback = null)
414414 * Implementations MAY optionally add more information in the array but at minimum the above `key => value` format
415415 * MUST always be provided.
416416 *
417- * @return array
417+ * @return array Statistics about the loop in the described format.
418418 */
419- public static function info ()
419+ public static function getInfo ()
420420 {
421421 $ driver = self ::$ driver ?: self ::get ();
422- return $ driver ->info ();
422+ return $ driver ->getInfo ();
423423 }
424424
425425 /**
Original file line number Diff line number Diff line change @@ -268,9 +268,9 @@ abstract public function setErrorHandler(callable $callback = null);
268268 * Implementations MAY optionally add more information in the array but at minimum the above `key => value` format
269269 * MUST always be provided.
270270 *
271- * @return array
271+ * @return array Statistics about the loop in the described format.
272272 */
273- abstract public function info ();
273+ abstract public function getInfo ();
274274
275275 /**
276276 * Get the underlying loop handle.
Original file line number Diff line number Diff line change @@ -43,6 +43,6 @@ public function disable($watcherId) {}
4343 public function cancel ($ watcherId ) {}
4444 public function reference ($ watcherId ) {}
4545 public function unreference ($ watcherId ) {}
46- public function info () {}
46+ public function getInfo () {}
4747 public function getHandle () {}
4848}
You can’t perform that action at this time.
0 commit comments