Răsfoiți Sursa

Add PHPDocs

Alan Lam 7 ani în urmă
părinte
comite
c398d99741
3 a modificat fișierele cu 7 adăugiri și 3 ștergeri
  1. 1 1
      controllers/test.php
  2. 0 2
      engine/test.php
  3. 6 0
      engine/test_value.php

+ 1 - 1
controllers/test.php

@@ -1,4 +1,4 @@
-<?php
+<?php /** @noinspection PhpUnhandledExceptionInspection */
 
 
 /**
 /**
  * @var Test $test
  * @var Test $test

+ 0 - 2
engine/test.php

@@ -37,8 +37,6 @@ use Mpdf\Mpdf;
  * @property string $dts_updated
  * @property string $dts_updated
  * @property string $dts_assigned
  * @property string $dts_assigned
  * @property string $dts_verified
  * @property string $dts_verified
- *
- * @method Test get(int $id)
  */
  */
 
 
 class Test extends Model {
 class Test extends Model {

+ 6 - 0
engine/test_value.php

@@ -1,5 +1,11 @@
 <?php
 <?php
 
 
+/**
+ * Class TestValue
+ * @property int $test_id
+ * @property string $name
+ * @property string $value
+ */
 class TestValue extends Model {
 class TestValue extends Model {
 
 
 	protected static $table = "test_value";
 	protected static $table = "test_value";