summaryrefslogtreecommitdiff
path: root/ext/pgsql/pgsql.c
diff options
context:
space:
mode:
authorLarry Garfield <larry@garfieldtech.com>2020-08-26 17:20:22 -0500
committerSara Golemon <pollita@php.net>2020-09-14 14:56:49 +0000
commit96f2f3174bb7d3c5367b5a48817f485cef5ed71b (patch)
treeed29f577f1b63d932737a1256ba0345bac68a315 /ext/pgsql/pgsql.c
parent57a4a2c5a8ddd7e2f1214d5b05c270992e19451e (diff)
downloadphp-git-96f2f3174bb7d3c5367b5a48817f485cef5ed71b.tar.gz
Update array parameter names for named parameters
* The array "subject" of a function gets called $array. * Further parameters should be self-descriptive if used as a named parameter, and a full word, not an abbreviation. * If there is a "bunch more arrays" variadic, it gets called $arrays (because that's what was already there). * A few functions have a variadic "a bunch more arrays, and then a callable", and were already called $rest. I left those as is and died a little inside. * Any callable provided to an array function that acts on the array is called $callback. (Nearly all were already, I just fixed the one or two outliers.) * array_multisort() is beyond help so I ran screaming.
Diffstat (limited to 'ext/pgsql/pgsql.c')
0 files changed, 0 insertions, 0 deletions