original_string: public function notifyUpdated(array $order)
      {
          if (is_numeric($order['user_id']) && !empty($order['user_email'])) {
              return $this->mail->set('order_updated_customer', array($order));
          }
  
          return false;
      }
code: public function notifyUpdated(array $order)
      {
          if (is_numeric($order['user_id']) && !empty($order['user_email'])) {
              return $this->mail->set('order_updated_customer', array($order));
          }
  
          return false;
      }
code_tokens: public function notifyUpdated ( array $ order ) { if ( is_numeric ( $ order [ 'user_id' ] ) && ! empty ( $ order [ 'user_email' ] ) ) { return $ this -> mail -> set ( 'order_updated_customer' , array ( $ order ) ) ; } return false ; }
docstring: Notify when an order has been updated
  @param array $order
  @return boolean
docstring_tokens: Notify when an order has been updated