actions: Avoid use of is_null() PHP function where necessary
authorDerick Alangi <alangiderick@gmail.com>
Fri, 11 Jan 2019 15:40:27 +0000 (16:40 +0100)
committerDerick Alangi <alangiderick@gmail.com>
Fri, 11 Jan 2019 15:40:27 +0000 (16:40 +0100)
commit2b3a21f5c1c69fb1e03af717bb5b50037436d13c
treef47bf76b80be0d6a2952461ed96cea319b5e7b0e
parentc3f45c864a4f316624f47a622680eb440b98dfc7
actions: Avoid use of is_null() PHP function where necessary

WRT performance, is_null() is a few nanoseconds slower than === null
due to function call overhead. Also, I personally think using the
identical check on null is slightly more readable than using is_null().

Change-Id: Ie5b1ac17a18907e92eb3042decb7fc75e903123d
includes/actions/HistoryAction.php