Skip to content

Commit 0e1df66

Browse files
committed
Fixing lots of broken docblocks.
Thanks @waltertamboer !
1 parent 00791aa commit 0e1df66

File tree

24 files changed

+58
-8
lines changed

24 files changed

+58
-8
lines changed

lib/CalDAV/Calendar.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -137,6 +137,7 @@ function getChildren() {
137137
*
138138
* If any children are not found, you do not have to return them.
139139
*
140+
* @param string[] $paths
140141
* @return array
141142
*/
142143
function getMultipleChildren(array $paths) {

lib/CalDAV/Notifications/Plugin.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,8 @@ class Plugin extends ServerPlugin {
3232
const NS_CALENDARSERVER = 'http://calendarserver.org/ns/';
3333

3434
/**
35+
* Reference to the main server object.
36+
*
3537
* @var Server
3638
*/
3739
protected $server;

lib/CalDAV/Schedule/IMipPlugin.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ function __construct($senderEmail) {
5757
*
5858
* This method should set up the required event subscriptions.
5959
*
60-
* @param Server $server
60+
* @param DAV\Server $server
6161
* @return void
6262
*/
6363
function initialize(DAV\Server $server) {

lib/CalDAV/Schedule/Inbox.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ class Inbox extends DAV\Collection implements IInbox {
3434
/**
3535
* Constructor
3636
*
37+
* @param Backend\SchedulingSupport $caldavBackend
3738
* @param string $principalUri
3839
*/
3940
function __construct(Backend\SchedulingSupport $caldavBackend, $principalUri) {

lib/CalDAV/Subscriptions/Plugin.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,8 @@ function getFeatures() {
5959
/**
6060
* Triggered after properties have been fetched.
6161
*
62+
* @param PropFind $propFind
63+
* @param INode $node
6264
* @return void
6365
*/
6466
function propFind(PropFind $propFind, INode $node) {

lib/CalDAV/Xml/Notification/InviteReply.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,8 @@ class InviteReply implements NotificationInterface {
8686
* * hostUrl - A url to the shared calendar.
8787
* * summary - Description of the share, can be the same as the
8888
* calendar, but may also be modified (optional).
89+
*
90+
* @param array $values
8991
*/
9092
function __construct(array $values) {
9193

lib/CardDAV/AddressBook.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,7 @@ function getChildren() {
9191
*
9292
* If any children are not found, you do not have to return them.
9393
*
94+
* @param string[] $paths
9495
* @return array
9596
*/
9697
function getMultipleChildren(array $paths) {

lib/CardDAV/Plugin.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -654,6 +654,10 @@ protected function validateTextMatches(array $texts, array $filters, $test) {
654654
*
655655
* This event is scheduled late in the process, after most work for
656656
* propfind has been done.
657+
*
658+
* @param DAV\PropFind $propFind
659+
* @param DAV\INode $node
660+
* @return void
657661
*/
658662
function propFindLate(DAV\PropFind $propFind, DAV\INode $node) {
659663

lib/DAV/Auth/Backend/AbstractBasic.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ function check(RequestInterface $request, ResponseInterface $response) {
127127
* existing one.
128128
*
129129
* @param RequestInterface $request
130-
* @param ResponseInterface $request
130+
* @param ResponseInterface $response
131131
* @return void
132132
*/
133133
function challenge(RequestInterface $request, ResponseInterface $response) {

lib/DAV/Auth/Backend/AbstractDigest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ function check(RequestInterface $request, ResponseInterface $response) {
144144
* existing one.
145145
*
146146
* @param RequestInterface $request
147-
* @param ResponseInterface $request
147+
* @param ResponseInterface $response
148148
* @return void
149149
*/
150150
function challenge(RequestInterface $request, ResponseInterface $response) {

0 commit comments

Comments
 (0)