Skip to content

Commit

Permalink
Resque_Redis: use && rather than and
Browse files Browse the repository at this point in the history
  • Loading branch information
petrkotek authored Oct 20, 2016
1 parent 3c5dac8 commit b054df7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Resque/Redis.php
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ class Resque_Redis
*/
public static function prefix($namespace)
{
if (substr($namespace, -1) !== ':' and $namespace != '') {
if (substr($namespace, -1) !== ':' && $namespace != '') {
$namespace .= ':';
}
self::$defaultNamespace = $namespace;
Expand Down

0 comments on commit b054df7

Please sign in to comment.