@@ -18,6 +18,9 @@ |
||
| 18 | 18 | $this->address = $address ? $address : $order->getShippingAddress(); |
| 19 | 19 | } |
| 20 | 20 | |
| 21 | + /** |
|
| 22 | + * @return string |
|
| 23 | + */ |
|
| 21 | 24 | function getEstimates() { |
| 22 | 25 | if($this->calculated){ |
| 23 | 26 | return $this->estimates; |
@@ -86,7 +86,7 @@ |
||
| 86 | 86 | * |
| 87 | 87 | * Template CartPage.ss contains <% include ShippingEstimator %> |
| 88 | 88 | * Function adapted from SSViewerTest.php in SSv3.1 |
| 89 | - * @param $theme string - theme name |
|
| 89 | + * @param string $theme string - theme name |
|
| 90 | 90 | */ |
| 91 | 91 | protected function useTheme($theme) { |
| 92 | 92 | global $project; |