mirror of
https://github.com/Karaka-Management/phpOMS.git
synced 2026-01-19 21:18:39 +00:00
Add exception description
This commit is contained in:
parent
7a88ce1576
commit
a9918edccf
|
|
@ -146,6 +146,17 @@ final class Complex
|
|||
return $this->multComplex($this);
|
||||
}
|
||||
|
||||
/**
|
||||
* Pow opperator
|
||||
*
|
||||
* @param mixed $value Value to pow
|
||||
*
|
||||
* @return Complex
|
||||
*
|
||||
* @throws \InvalidArgumentException This exception is thrown if the argument has an invalid type
|
||||
*
|
||||
* @since 1.0.0
|
||||
*/
|
||||
public function pow($value) : self
|
||||
{
|
||||
if (\is_int($value)) {
|
||||
|
|
@ -196,7 +207,7 @@ final class Complex
|
|||
*
|
||||
* @return Complex
|
||||
*
|
||||
* @throws \InvalidArgumentException
|
||||
* @throws \InvalidArgumentException This exception is thrown if the argument has an invalid type
|
||||
*
|
||||
* @since 1.0.0
|
||||
*/
|
||||
|
|
@ -246,7 +257,7 @@ final class Complex
|
|||
*
|
||||
* @return Complex
|
||||
*
|
||||
* @throws \InvalidArgumentException
|
||||
* @throws \InvalidArgumentException This exception is thrown if the argument has an invalid type
|
||||
*
|
||||
* @since 1.0.0
|
||||
*/
|
||||
|
|
@ -296,7 +307,7 @@ final class Complex
|
|||
*
|
||||
* @return Complex
|
||||
*
|
||||
* @throws \InvalidArgumentException
|
||||
* @throws \InvalidArgumentException This exception is thrown if the argument has an invalid type
|
||||
*
|
||||
* @since 1.0.0
|
||||
*/
|
||||
|
|
@ -349,7 +360,7 @@ final class Complex
|
|||
*
|
||||
* @return Complex
|
||||
*
|
||||
* @throws \InvalidArgumentException
|
||||
* @throws \InvalidArgumentException This exception is thrown if the argument has an invalid type
|
||||
*
|
||||
* @since 1.0.0
|
||||
*/
|
||||
|
|
|
|||
|
|
@ -255,7 +255,8 @@ abstract class InstallerAbstract
|
|||
*
|
||||
* @return void
|
||||
*
|
||||
* @throws PermissionException
|
||||
* @throws PathException This exception is thrown if the hook file doesn't exist
|
||||
* @throws PermissionException This exception is thrown if the hook file couldn't be updated (no write permission)
|
||||
*
|
||||
* @since 1.0.0
|
||||
*/
|
||||
|
|
|
|||
|
|
@ -45,6 +45,8 @@ class PriorityQueue implements \Countable, \Serializable
|
|||
/**
|
||||
* Constructor.
|
||||
*
|
||||
* @throws InvalidEnumValue This exception is thrown if the priority mode is invalid
|
||||
*
|
||||
* @since 1.0.0
|
||||
*/
|
||||
public function __construct(int $type = PriorityMode::FIFO)
|
||||
|
|
|
|||
|
|
@ -85,6 +85,8 @@ final class ArrayUtils
|
|||
*
|
||||
* @return array
|
||||
*
|
||||
* @throws \Exception This exception is thrown if the path is corrupted
|
||||
*
|
||||
* @since 1.0.0
|
||||
*/
|
||||
public static function setArray(string $path, array $data, $value, string $delim = '/', bool $overwrite = false) : array
|
||||
|
|
@ -124,6 +126,8 @@ final class ArrayUtils
|
|||
*
|
||||
* @return mixed
|
||||
*
|
||||
* @throws \Exception This exception is thrown if the path is corrupted
|
||||
*
|
||||
* @since 1.0.0
|
||||
*/
|
||||
public static function getArray(string $path, array $data, string $delim = '/')
|
||||
|
|
|
|||
|
|
@ -56,6 +56,8 @@ class Numeric
|
|||
*
|
||||
* @return string
|
||||
*
|
||||
* @throws \Exception This exception is thrown if one of the bases or the number is invalid
|
||||
*
|
||||
* @since 1.0.0
|
||||
*/
|
||||
public static function convertBase(string $numberInput, string $fromBaseInput, string $toBaseInput) : string
|
||||
|
|
|
|||
|
|
@ -76,7 +76,7 @@ class Git
|
|||
*
|
||||
* @return void
|
||||
*
|
||||
* @throws PathException This exceptio is thrown if the binary path doesn't exist
|
||||
* @throws PathException This exception is thrown if the binary path doesn't exist
|
||||
*
|
||||
* @since 1.0.0
|
||||
*/
|
||||
|
|
|
|||
|
|
@ -515,6 +515,8 @@ final class StringUtils
|
|||
*
|
||||
* @return array
|
||||
*
|
||||
* @throws \Exception This exception is thrown if one of the parameters is empty
|
||||
*
|
||||
* @since 1.0.0
|
||||
*/
|
||||
private static function computeLCSDiff(array $from, array $to) : array
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user