Completed
Push — master ( 3848cb...1f8425 )
by mehdi
02:54
created
src/Convert.php 1 patch
Doc Comments   +4 added lines patch added patch discarded remove patch
@@ -64,6 +64,10 @@
 block discarded – undo
64 64
     *
65 65
     *\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\
66 66
     */
67
+
68
+    /**
69
+     * @param \DateTime $date_time
70
+     */
67 71
     public function __construct( $date_time = null ) 
68 72
     {
69 73
 
Please login to merge, or discard this patch.
src/Events/Events.php 1 patch
Doc Comments   +4 added lines patch added patch discarded remove patch
@@ -58,6 +58,10 @@
 block discarded – undo
58 58
     *
59 59
     *\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/
60 60
     */
61
+
62
+    /**
63
+     * @param string $path
64
+     */
61 65
     private function fetch( $path ) 
62 66
     {
63 67
 
Please login to merge, or discard this patch.
src/Datium.php 1 patch
Doc Comments   +10 added lines, -11 removed lines patch added patch discarded remove patch
@@ -178,7 +178,7 @@  discard block
 block discarded – undo
178 178
    * Get current datetime
179 179
    *
180 180
    * @since  Aug 17 2015
181
-   * @return object
181
+   * @return Datium
182 182
    */
183 183
     public static function now()
184 184
     {
@@ -199,7 +199,7 @@  discard block
 block discarded – undo
199 199
    * @param integer $minute minute number
200 200
    * @param integer $second second number
201 201
    *
202
-   * @return object
202
+   * @return Datium
203 203
    */
204 204
     public static function create(
205 205
         $year = 2000,
@@ -241,7 +241,7 @@  discard block
 block discarded – undo
241 241
     * @param object $date_start Start of the DateTime
242 242
     * @param object $date_end   End of the DateTime
243 243
     *
244
-    * @return object
244
+    * @return Datium
245 245
     */
246 246
     public static function between($date_start, $date_end)
247 247
     {
@@ -287,7 +287,7 @@  discard block
 block discarded – undo
287 287
     *
288 288
     * @param object $calendar Assigned calendar to when calendar should start.
289 289
     *
290
-    * @return object
290
+    * @return Datium
291 291
     */
292 292
     public function to($calendar)
293 293
     {
@@ -328,7 +328,7 @@  discard block
 block discarded – undo
328 328
    *
329 329
    * @param string $value How much date should be added to current date
330 330
    *
331
-   * @return object
331
+   * @return Datium
332 332
    */
333 333
     public function add($value)
334 334
     {
@@ -358,7 +358,7 @@  discard block
 block discarded – undo
358 358
    *
359 359
    * @param string $value How much date should increase from current date
360 360
    *
361
-   * @return obejct
361
+   * @return Datium
362 362
    */
363 363
     public function sub($value)
364 364
     {
@@ -386,9 +386,8 @@  discard block
 block discarded – undo
386 386
     /**
387 387
    * Check if current year is leap or not
388 388
    *
389
-   * @param string $type Name of the calendar to caculate leap year
390 389
    *
391
-   * @return boolean
390
+   * @return Leap
392 391
    */
393 392
     public function leap()
394 393
     {
@@ -404,7 +403,7 @@  discard block
 block discarded – undo
404 403
     *
405 404
     * @since Aug, 22 2015
406 405
     *
407
-    * @return integer
406
+    * @return DayOf
408 407
     */
409 408
     public function dayOf()
410 409
     {
@@ -451,7 +450,7 @@  discard block
 block discarded – undo
451 450
     *
452 451
     * @param string $language language short name fa, en, ar ...
453 452
     *
454
-    * @return object
453
+    * @return Datium
455 454
     */
456 455
     public function lang($language = 'fa')
457 456
     {
@@ -471,7 +470,7 @@  discard block
 block discarded – undo
471 470
     /**
472 471
     * Return object as timestamp
473 472
     *
474
-    * @return timestamp
473
+    * @return integer
475 474
     */
476 475
     public function timestamp()
477 476
     {
Please login to merge, or discard this patch.