1818use LaravelDaily \Invoices \Traits \SerialNumberFormatter ;
1919
2020/**
21- * Class Invoices
22- * @package LaravelDaily\Invoices
21+ * Class Invoices.
2322 */
2423class Invoice
2524{
@@ -29,7 +28,7 @@ class Invoice
2928 use SavesFiles;
3029 use SerialNumberFormatter;
3130
32- const TABLE_COLUMNS = 4 ;
31+ public const TABLE_COLUMNS = 4 ;
3332
3433 /**
3534 * @var string
@@ -143,7 +142,9 @@ class Invoice
143142
144143 /**
145144 * Invoice constructor.
145+ *
146146 * @param string $name
147+ *
147148 * @throws \Illuminate\Contracts\Container\BindingResolutionException
148149 */
149150 public function __construct ($ name = 'Invoice ' )
@@ -184,16 +185,17 @@ public function __construct($name = 'Invoice')
184185
185186 /**
186187 * @param string $name
187- * @return Invoice
188+ *
188189 * @throws \Illuminate\Contracts\Container\BindingResolutionException
190+ *
191+ * @return Invoice
189192 */
190193 public static function make ($ name = 'Invoice ' )
191194 {
192195 return new static ($ name );
193196 }
194197
195198 /**
196- * @param array $attributes
197199 * @return Party
198200 */
199201 public static function makeParty (array $ attributes = [])
@@ -202,7 +204,6 @@ public static function makeParty(array $attributes = [])
202204 }
203205
204206 /**
205- * @param string $title
206207 * @return InvoiceItem
207208 */
208209 public static function makeItem (string $ title = '' )
@@ -211,7 +212,6 @@ public static function makeItem(string $title = '')
211212 }
212213
213214 /**
214- * @param InvoiceItem $item
215215 * @return $this
216216 */
217217 public function addItem (InvoiceItem $ item )
@@ -223,6 +223,7 @@ public function addItem(InvoiceItem $item)
223223
224224 /**
225225 * @param $items
226+ *
226227 * @return $this
227228 */
228229 public function addItems ($ items )
@@ -235,8 +236,9 @@ public function addItems($items)
235236 }
236237
237238 /**
238- * @return $this
239239 * @throws Exception
240+ *
241+ * @return $this
240242 */
241243 public function render ()
242244 {
@@ -255,8 +257,9 @@ public function render()
255257 }
256258
257259 /**
258- * @return Response
259260 * @throws Exception
261+ *
262+ * @return Response
260263 */
261264 public function stream ()
262265 {
@@ -269,8 +272,9 @@ public function stream()
269272 }
270273
271274 /**
272- * @return Response
273275 * @throws Exception
276+ *
277+ * @return Response
274278 */
275279 public function download ()
276280 {
0 commit comments