Skip to content

Commit

Permalink
Improve stubs
Browse files Browse the repository at this point in the history
  • Loading branch information
nkkollaw committed Sep 13, 2017
1 parent 0d97d06 commit 6a46e66
Show file tree
Hide file tree
Showing 247 changed files with 967 additions and 481 deletions.
6 changes: 4 additions & 2 deletions src/abs.php.TODO
@@ -1,14 +1,16 @@
<?php
declare(strict_types=1);

namespace Zubr;

/**
* \Zubr\abs()
*
* @link https://secure.php.net/abs
*
* NOTES: same as \abs() || in Zubr, $param_1 goes before $param_2, and we return an array instead of void
*/
function abs ($number)
function abs($number)
{
// TODO: implement
return \abs($number);
}
6 changes: 4 additions & 2 deletions src/acos.php.TODO
@@ -1,14 +1,16 @@
<?php
declare(strict_types=1);

namespace Zubr;

/**
* \Zubr\acos()
*
* @link https://secure.php.net/acos
*
* NOTES: same as \acos() || in Zubr, $param_1 goes before $param_2, and we return an array instead of void
*/
function acos ($arg)
function acos($arg)
{
// TODO: implement
return \acos($arg);
}
6 changes: 4 additions & 2 deletions src/acosh.php.TODO
@@ -1,14 +1,16 @@
<?php
declare(strict_types=1);

namespace Zubr;

/**
* \Zubr\acosh()
*
* @link https://secure.php.net/acosh
*
* NOTES: same as \acosh() || in Zubr, $param_1 goes before $param_2, and we return an array instead of void
*/
function acosh ($arg)
function acosh($arg)
{
// TODO: implement
return \acosh($arg);
}
6 changes: 4 additions & 2 deletions src/addcslashes.php.TODO
@@ -1,14 +1,16 @@
<?php
declare(strict_types=1);

namespace Zubr;

/**
* \Zubr\addcslashes()
*
* @link https://secure.php.net/addcslashes
*
* NOTES: same as \addcslashes() || in Zubr, $param_1 goes before $param_2, and we return an array instead of void
*/
function addcslashes ($str, $charlist)
function addcslashes($str, $charlist)
{
// TODO: implement
return \addcslashes($str, $charlist);
}
6 changes: 4 additions & 2 deletions src/addslashes.php.TODO
@@ -1,14 +1,16 @@
<?php
declare(strict_types=1);

namespace Zubr;

/**
* \Zubr\addslashes()
*
* @link https://secure.php.net/addslashes
*
* NOTES: same as \addslashes() || in Zubr, $param_1 goes before $param_2, and we return an array instead of void
*/
function addslashes ($str)
function addslashes($str)
{
// TODO: implement
return \addslashes($str);
}
4 changes: 3 additions & 1 deletion src/array_diff.php.TODO
@@ -1,6 +1,8 @@
<?php
declare(strict_types=1);

namespace Zubr;

/**
* \Zubr\array_diff()
*
Expand All @@ -10,5 +12,5 @@ declare(strict_types=1);
*/
function array_diff(array $array1, array $array2, array $_ = null)
{
// TODO: implement
return \array_diff();
}
4 changes: 3 additions & 1 deletion src/array_diff_assoc.php.TODO
@@ -1,6 +1,8 @@
<?php
declare(strict_types=1);

namespace Zubr;

/**
* \Zubr\array_diff_assoc()
*
Expand All @@ -10,5 +12,5 @@ declare(strict_types=1);
*/
function array_diff_assoc(array $array1, array $array2, array $_ = null)
{
// TODO: implement
return \array_diff_assoc();
}
4 changes: 3 additions & 1 deletion src/array_diff_key.php.TODO
@@ -1,6 +1,8 @@
<?php
declare(strict_types=1);

namespace Zubr;

/**
* \Zubr\array_diff_key()
*
Expand All @@ -10,5 +12,5 @@ declare(strict_types=1);
*/
function array_diff_key(array $array1, array $array2, array $_ = null)
{
// TODO: implement
return \array_diff_key();
}
4 changes: 3 additions & 1 deletion src/array_diff_uassoc.php.TODO
@@ -1,6 +1,8 @@
<?php
declare(strict_types=1);

namespace Zubr;

/**
* \Zubr\array_diff_uassoc()
*
Expand All @@ -10,5 +12,5 @@ declare(strict_types=1);
*/
function array_diff_uassoc(array $array1, array $array2, array $_ = null, $key_compare_func)
{
// TODO: implement
return \array_diff_uassoc();
}
4 changes: 3 additions & 1 deletion src/array_diff_ukey.php.TODO
@@ -1,6 +1,8 @@
<?php
declare(strict_types=1);

namespace Zubr;

/**
* \Zubr\array_diff_ukey()
*
Expand All @@ -10,5 +12,5 @@ declare(strict_types=1);
*/
function array_diff_ukey(array $array1, array $array2, array $_ = null, $key_compare_func)
{
// TODO: implement
return \array_diff_ukey();
}
4 changes: 3 additions & 1 deletion src/array_filter.php.TODO
@@ -1,6 +1,8 @@
<?php
declare(strict_types=1);

namespace Zubr;

/**
* \Zubr\array_filter()
*
Expand All @@ -10,5 +12,5 @@ declare(strict_types=1);
*/
function array_filter(array $input, $callback = null, $flag = 0)
{
// TODO: implement
return \array_filter();
}
4 changes: 3 additions & 1 deletion src/array_intersect.php.TODO
@@ -1,6 +1,8 @@
<?php
declare(strict_types=1);

namespace Zubr;

/**
* \Zubr\array_intersect()
*
Expand All @@ -10,5 +12,5 @@ declare(strict_types=1);
*/
function array_intersect(array $array1, array $array2, array $_ = null)
{
// TODO: implement
return \array_intersect();
}
4 changes: 3 additions & 1 deletion src/array_intersect_assoc.php.TODO
@@ -1,6 +1,8 @@
<?php
declare(strict_types=1);

namespace Zubr;

/**
* \Zubr\array_intersect_assoc()
*
Expand All @@ -10,5 +12,5 @@ declare(strict_types=1);
*/
function array_intersect_assoc(array $array1, array $array2, array $_ = null)
{
// TODO: implement
return \array_intersect_assoc();
}
4 changes: 3 additions & 1 deletion src/array_intersect_key.php.TODO
@@ -1,6 +1,8 @@
<?php
declare(strict_types=1);

namespace Zubr;

/**
* \Zubr\array_intersect_key()
*
Expand All @@ -10,5 +12,5 @@ declare(strict_types=1);
*/
function array_intersect_key(array $array1, array $array2, array $_ = null)
{
// TODO: implement
return \array_intersect_key();
}
4 changes: 3 additions & 1 deletion src/array_intersect_uassoc.php.TODO
@@ -1,6 +1,8 @@
<?php
declare(strict_types=1);

namespace Zubr;

/**
* \Zubr\array_intersect_uassoc()
*
Expand All @@ -10,5 +12,5 @@ declare(strict_types=1);
*/
function array_intersect_uassoc(array $array1, array $array2, array $_ = null, $key_compare_func)
{
// TODO: implement
return \array_intersect_uassoc();
}
4 changes: 3 additions & 1 deletion src/array_intersect_ukey.php.TODO
@@ -1,6 +1,8 @@
<?php
declare(strict_types=1);

namespace Zubr;

/**
* \Zubr\array_intersect_ukey()
*
Expand All @@ -10,5 +12,5 @@ declare(strict_types=1);
*/
function array_intersect_ukey(array $array1, array $array2, array $_ = null, $key_compare_func)
{
// TODO: implement
return \array_intersect_ukey();
}
4 changes: 3 additions & 1 deletion src/array_keys.php.TODO
@@ -1,6 +1,8 @@
<?php
declare(strict_types=1);

namespace Zubr;

/**
* \Zubr\array_keys()
*
Expand All @@ -10,5 +12,5 @@ declare(strict_types=1);
*/
function array_keys(array $input, $search_value = null, $strict = null)
{
// TODO: implement
return \array_keys();
}
4 changes: 3 additions & 1 deletion src/array_map.php.TODO
@@ -1,6 +1,8 @@
<?php
declare(strict_types=1);

namespace Zubr;

/**
* \Zubr\array_map()
*
Expand All @@ -10,5 +12,5 @@ declare(strict_types=1);
*/
function array_map($callback, array $arr1, array $_ = null)
{
// TODO: implement
return \array_map();
}
6 changes: 4 additions & 2 deletions src/array_merge.php.TODO
@@ -1,14 +1,16 @@
<?php
declare(strict_types=1);

namespace Zubr;

/**
* \Zubr\array_merge()
*
* @link https://secure.php.net/array_merge
*
* NOTES: same as \array_merge() || in Zubr, $param_1 goes before $param_2, and we return an array instead of void
*/
function array_merge (array $array1, array $array2 = null, array $_ = null)
function array_merge(array $array1, array $array2 = null, array $_ = null)
{
// TODO: implement
return \array_merge(array $array1, array $array2 = null, array $_ = null);
}
4 changes: 3 additions & 1 deletion src/array_merge_recursive.php.TODO
@@ -1,6 +1,8 @@
<?php
declare(strict_types=1);

namespace Zubr;

/**
* \Zubr\array_merge_recursive()
*
Expand All @@ -10,5 +12,5 @@ declare(strict_types=1);
*/
function array_merge_recursive(array $array1, array $_ = null)
{
// TODO: implement
return \array_merge_recursive();
}
6 changes: 4 additions & 2 deletions src/array_multisort.php.TODO
@@ -1,14 +1,16 @@
<?php
declare(strict_types=1);

namespace Zubr;

/**
* \Zubr\array_multisort()
*
* @link https://secure.php.net/array_multisort
*
* NOTES: same as \array_multisort() || in Zubr, $param_1 goes before $param_2, and we return an array instead of void
*/
function array_multisort (array &$arr, $arg = null, $arg = null, $_ = null)
function array_multisort(array &$arr, $arg = null, $arg = null, $_ = null)
{
// TODO: implement
return \array_multisort(array &$arr, $arg = null, $arg = null, $_ = null);
}
4 changes: 3 additions & 1 deletion src/array_pad.php.TODO
@@ -1,6 +1,8 @@
<?php
declare(strict_types=1);

namespace Zubr;

/**
* \Zubr\array_pad()
*
Expand All @@ -10,5 +12,5 @@ declare(strict_types=1);
*/
function array_pad(array $input, $pad_size, $pad_value)
{
// TODO: implement
return \array_pad();
}

0 comments on commit 6a46e66

Please sign in to comment.