actions: Improve Action class code for clarity & consistency
authorDerick Alangi <alangiderick@gmail.com>
Mon, 25 Feb 2019 12:28:37 +0000 (13:28 +0100)
committerDerick Alangi <alangiderick@gmail.com>
Mon, 25 Feb 2019 12:28:37 +0000 (13:28 +0100)
commitae87a51b05b69c33cef363930f61121d9bb7820f
treee8e0b8888c85aadbce350b0bdbd8ef3d6fc43f3e
parentecbe578005128556873ea4c3983ea699e47e6807
actions: Improve Action class code for clarity & consistency

~ Move local variable $obj to one liner as it's redundant in
  this case.
~ Use === check instead of == as in order case above for the
  purpose of consistency.
~ Make use of single quotes for strings literals instead of
  double quotes.

Change-Id: I69650cacb0658a7369147ea5e9933fb5585e3376
includes/actions/Action.php