Code Duplication    Length = 10-10 lines in 3 locations

lib/Trello/Model/Organization.php 1 location

@@ 111-120 (lines=10) @@
108
    /**
109
     * {@inheritdoc}
110
     */
111
    public function getBoards()
112
    {
113
        $boards = array();
114
115
        foreach ($this->data['idBoards'] as $boardId) {
116
            $boards[] = new Board($this->client, $boardId);
117
        }
118
119
        return $boards;
120
    }
121
122
    /**
123
     * {@inheritdoc}

lib/Trello/Model/Member.php 2 locations

@@ 314-323 (lines=10) @@
311
    /**
312
     * {@inheritdoc}
313
     */
314
    public function getBoards()
315
    {
316
        $boards = array();
317
318
        foreach ($this->data['idBoards'] as $boardId) {
319
            $boards[] = new Board($this->client, $boardId);
320
        }
321
322
        return $boards;
323
    }
324
325
    /**
326
     * {@inheritdoc}
@@ 346-355 (lines=10) @@
343
    /**
344
     * {@inheritdoc}
345
     */
346
    public function getPinnedBoards()
347
    {
348
        $boards = array();
349
350
        foreach ($this->data['idBoardsPinned'] as $boardId) {
351
            $boards[] = new Board($this->client, $boardId);
352
        }
353
354
        return $boards;
355
    }
356
357
    /**
358
     * {@inheritdoc}