Skip to content

Commit

Permalink
Remove uneccessary import and add phpdoc
Browse files Browse the repository at this point in the history
  • Loading branch information
datengraben committed Oct 3, 2023
1 parent 33f17c6 commit 2f71c58
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions src/View/Calendar.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@

namespace CommonsBooking\View;

use CommonsBooking\CB\CB;
use CommonsBooking\Helper\Helper;
use CommonsBooking\Helper\Wordpress;
use CommonsBooking\Model\CustomPost;
Expand All @@ -13,11 +12,13 @@
use CommonsBooking\Wordpress\CustomPostType\Item;
use CommonsBooking\Wordpress\CustomPostType\Location;
use CommonsBooking\Wordpress\CustomPostType\Timeframe;
use DateInterval;
use DateTime;

use Exception;
use WP_Post;

/**
* Different methods to render shortcode view on item availabilities, with calls to repository/model layer.
*/
class Calendar {

/**
Expand All @@ -35,7 +36,7 @@ class Calendar {
* Many thanks to fLotte Berlin!
* Forked from https://github.com/flotte-berlin/cb-shortcodes/blob/master/custom-shortcodes-cb-items.php
*
* @param $atts
* @param array $atts assoc array for mainly passing query params.
*
* @return string
* @throws Exception
Expand Down

0 comments on commit 2f71c58

Please sign in to comment.