@@ -532,7 +532,6 @@ discard block |
||
532 | 532 | /** |
533 | 533 | * Set sslPubKey |
534 | 534 | * |
535 | - * @param string $sslPubKey |
|
536 | 535 | * @return BranchSync |
537 | 536 | */ |
538 | 537 | public function setBranchType($branchType) |
@@ -714,7 +713,7 @@ discard block |
||
714 | 713 | } |
715 | 714 | |
716 | 715 | /** |
717 | - * @return mixed |
|
716 | + * @return null|BranchSync |
|
718 | 717 | */ |
719 | 718 | public function getParent() |
720 | 719 | { |
@@ -136,11 +136,11 @@ discard block |
||
136 | 136 | */ |
137 | 137 | private $lastSyncType; |
138 | 138 | |
139 | - /** |
|
140 | - * @var string |
|
141 | - * |
|
142 | - * @ORM\Column(name="ssl_pub_key", type="string", length=250, nullable=true, unique=false) |
|
143 | - */ |
|
139 | + /** |
|
140 | + * @var string |
|
141 | + * |
|
142 | + * @ORM\Column(name="ssl_pub_key", type="string", length=250, nullable=true, unique=false) |
|
143 | + */ |
|
144 | 144 | private $sslPubKey; |
145 | 145 | |
146 | 146 | /** |
@@ -529,12 +529,12 @@ discard block |
||
529 | 529 | return $this->sslPubKey; |
530 | 530 | } |
531 | 531 | |
532 | - /** |
|
533 | - * Set sslPubKey |
|
534 | - * |
|
535 | - * @param string $sslPubKey |
|
536 | - * @return BranchSync |
|
537 | - */ |
|
532 | + /** |
|
533 | + * Set sslPubKey |
|
534 | + * |
|
535 | + * @param string $sslPubKey |
|
536 | + * @return BranchSync |
|
537 | + */ |
|
538 | 538 | public function setBranchType($branchType) |
539 | 539 | { |
540 | 540 | $this->branchType = $branchType; |
@@ -139,7 +139,7 @@ |
||
139 | 139 | } |
140 | 140 | |
141 | 141 | /** |
142 | - * @param $user |
|
142 | + * @param User $user |
|
143 | 143 | * @return $this |
144 | 144 | */ |
145 | 145 | public function setUser($user) |
@@ -22,8 +22,8 @@ |
||
22 | 22 | * @param $tool learnpath | document | etc |
23 | 23 | * @param $itemId |
24 | 24 | * @param Course $course |
25 | - * @param int $sessionId |
|
26 | - * @param int $groupId |
|
25 | + * @param int $session |
|
26 | + * @param int $group |
|
27 | 27 | * |
28 | 28 | * @return \Doctrine\ORM\QueryBuilder |
29 | 29 | */ |
@@ -196,7 +196,7 @@ |
||
196 | 196 | $users = \GroupManager::getStudentsAndTutors($groupId); |
197 | 197 | $newUserList = array(); |
198 | 198 | if (!empty($users)) { |
199 | - foreach($users as $user) { |
|
199 | + foreach ($users as $user) { |
|
200 | 200 | $newUserList[] = $user['user_id']; |
201 | 201 | } |
202 | 202 | $this->unsubcribeUsersToItem( |
@@ -58,7 +58,7 @@ discard block |
||
58 | 58 | } |
59 | 59 | |
60 | 60 | /** |
61 | - * @return string |
|
61 | + * @return integer |
|
62 | 62 | */ |
63 | 63 | public function getType() |
64 | 64 | { |
@@ -123,7 +123,7 @@ discard block |
||
123 | 123 | } |
124 | 124 | |
125 | 125 | /** |
126 | - * @param mixed $sequence |
|
126 | + * @param Sequence $sequence |
|
127 | 127 | * @return $this |
128 | 128 | */ |
129 | 129 | public function setSequence(Sequence $sequence) |
@@ -94,7 +94,7 @@ |
||
94 | 94 | /** |
95 | 95 | * Get id |
96 | 96 | * |
97 | - * @return string |
|
97 | + * @return integer |
|
98 | 98 | */ |
99 | 99 | public function getId() |
100 | 100 | { |
@@ -47,7 +47,7 @@ |
||
47 | 47 | */ |
48 | 48 | public function editorReplace() |
49 | 49 | { |
50 | - $toolbar = new Toolbar\Basic($this->urlGenerator, $this->toolbarSet, $this->config, 'TinyMce'); |
|
50 | + $toolbar = new Toolbar\Basic($this->urlGenerator, $this->toolbarSet, $this->config, 'TinyMce'); |
|
51 | 51 | $toolbar->setLanguage($this->getLocale()); |
52 | 52 | $config = $toolbar->getConfig(); |
53 | 53 | $config['selector'] = "#".$this->name; |
@@ -22,8 +22,8 @@ |
||
22 | 22 | "searchreplace wordcount visualblocks visualchars code fullscreen insertdatetime media nonbreaking", |
23 | 23 | "save table contextmenu directionality emoticons template paste textcolor" |
24 | 24 | ), |
25 | - 'content_css'=> "css/content.css", |
|
26 | - 'toolbar' => "insertfile undo redo | styleselect | bold italic | alignleft aligncenter alignright alignjustify | bullist numlist outdent indent | l ink image | print preview media fullpage | forecolor backcolor emoticons", |
|
25 | + 'content_css'=> "css/content.css", |
|
26 | + 'toolbar' => "insertfile undo redo | styleselect | bold italic | alignleft aligncenter alignright alignjustify | bullist numlist outdent indent | l ink image | print preview media fullpage | forecolor backcolor emoticons", |
|
27 | 27 | 'file_browser_callback' => 'elFinderBrowser' |
28 | 28 | ); |
29 | 29 |
@@ -31,7 +31,7 @@ |
||
31 | 31 | 'driver' => 'HomeDriver', |
32 | 32 | 'alias' => get_lang('Portal'), |
33 | 33 | 'path' => $home, |
34 | - 'URL' => api_get_path(WEB_PATH) . 'home', |
|
34 | + 'URL' => api_get_path(WEB_PATH).'home', |
|
35 | 35 | 'accessControl' => array($this, 'access'), |
36 | 36 | ); |
37 | 37 | } |
@@ -25,8 +25,8 @@ |
||
25 | 25 | mkdir($dir); |
26 | 26 | } |
27 | 27 | |
28 | - if (!is_dir($dir . 'my_files')) { |
|
29 | - mkdir($dir . 'my_files'); |
|
28 | + if (!is_dir($dir.'my_files')) { |
|
29 | + mkdir($dir.'my_files'); |
|
30 | 30 | } |
31 | 31 | } |
32 | 32 | } |