Title: Minor clean up for stricter checks, casting style, and doc types
authorDerick Alangi <alangiderick@gmail.com>
Sat, 2 Mar 2019 15:47:40 +0000 (16:47 +0100)
committerD3r1ck01 <alangiderick@gmail.com>
Wed, 6 Mar 2019 15:10:46 +0000 (15:10 +0000)
commit95da4e0d79d11abb9576a6a1b464fc278aaeb8ea
tree54e3704690d20a659d81e4b2154cdbfeeaedef13
parent52adf05e8f9574b6e16f12fec093fc8eb72f76cc
Title: Minor clean up for stricter checks, casting style, and doc types

These improvements touch areas around cleaning up deprecated functions
such as intval(), strval() into casting with (int), (string), etc.

If such improvements is welcomed into the Title class, I can make more
of such but for now, I've just made a few, like 1/20 of these kind of
changes in the file so that, if it's merged and encouraged to continue,
I'll cleanup the file. Or as proposed on this patch, phpcs rules can be
used to handle such cases.

Change-Id: Ib90e880cb124e765379ddad531d4c89289d364de
includes/Title.php