errant/tacit

View on GitHub
src/Instruction/Math/Sub.php

Summary

Maintainability
A
0 mins
Test Coverage
<?php 
namespace Tacit\Instruction\Math;
/**
 * Subtraction
 *
 * @author Tom Morton
 */
class Sub extends \Tacit\Instruction\BinaryOperation {

    public $command = 'SUB';

    public function transform($left, $right)
    {
        return $left - $right;
    }
}