Permalink
Browse files

Move typecasts to RHS of assignment

  • Loading branch information...
1 parent 930491c commit f4551483a45a298a1dfc70368737c9ce2ade1164 @rmccue rmccue committed with rmccue Apr 2, 2010
Showing with 3 additions and 3 deletions.
  1. +3 −3 simplepie.inc
View
6 simplepie.inc
@@ -4073,16 +4073,16 @@ class SimplePie_Item
$temp = explode(':', $this->sanitize($duration_parent[0]['data'], SIMPLEPIE_CONSTRUCT_TEXT));
if (sizeof($temp) > 0)
{
- (int) $seconds = array_pop($temp);
+ $seconds = (int) array_pop($temp);
}
if (sizeof($temp) > 0)
{
- (int) $minutes = array_pop($temp);
+ $minutes = (int) array_pop($temp);
$seconds += $minutes * 60;
}
if (sizeof($temp) > 0)
{
- (int) $hours = array_pop($temp);
+ $hours = (int) array_pop($temp);
$seconds += $hours * 3600;
}
unset($temp);

0 comments on commit f455148

Please sign in to comment.